fn addr(&self) -> SocketAddr {
        match self {
            DialOutcome::Successful { addr, .. } => *addr,
            DialOutcome::Failed { addr, .. } => *addr,
            DialOutcome::Loopback { addr, .. } => *addr,
        }
    }
/// Retrieves the socket address from the `DialOutcome`.
Retrieves the socket address from the `DialOutcome`.
Retrieves the socket address from the ` DialOutcome ` .
fn addr(&self) -> SocketAddr {
        match self {
            DialOutcome::Successful { addr, .. } => *addr,
            DialOutcome::Failed { addr, .. } => *addr,
            DialOutcome::Loopback { addr, .. } => *addr,
        }
    }
fn addr ( & self ) -> SocketAddr { match self { DialOutcome :: Successful { addr , .. } => * addr , DialOutcome :: Failed { addr , .. } => * addr , DialOutcome :: Loopback { addr , .. } => * addr , } }
Retrieves the socket address from the `DialOutcome`.
Retrieves the socket address from the ` DialOutcome ` .
&self
&self