pub fn is_supported(&self) -> bool {
        match *self {
            ConnectionAddr::Tcp(_, _) => true,
            ConnectionAddr::TcpTls { .. } => cfg!(feature = "tls"),
            ConnectionAddr::Unix(_) => cfg!(unix),
        }
    }
/// Checks if this address is supported.
///
/// Because not all platforms support all connection addresses this is a
/// quick way to figure out if a connection method is supported.  Currently
/// this only affects unix connections which are only supported on unix
/// platforms and on older versions of rust also require an explicit feature
/// to be enabled.
Checks if this address is supported.
Because not all platforms support all connection addresses this is a
quick way to figure out if a connection method is supported.  Currently
this only affects unix connections which are only supported on unix
platforms and on older versions of rust also require an explicit feature
to be enabled.
Checks if this address is supported . Because not all platforms support all connection addresses this is a quick way to figure out if a connection method is supported . Currently this only affects unix connections which are only supported on unix platforms and on older versions of rust also require an explicit feature to be enabled .
pub fn is_supported(&self) -> bool {
        match *self {
            ConnectionAddr::Tcp(_, _) => true,
            ConnectionAddr::TcpTls { .. } => cfg!(feature = "tls"),
            ConnectionAddr::Unix(_) => cfg!(unix),
        }
    }
pub fn is_supported ( & self ) -> bool { match * self { ConnectionAddr :: Tcp ( _ , _ ) => true , ConnectionAddr :: TcpTls { .. } => cfg ! ( feature " " ) , ConnectionAddr :: Unix ( _ ) => cfg ! ( unix ) , } }
Checks if this address is supported.
Checks if this address is supported .
&self
&self