pub fn connect<U>(
        &self,
        message: U,
    ) -> impl Future<Output = Result<TcpStream, ConnectError>>
    where
        Connect<T>: From<U>,
    {
        ConnectServiceResponse::new(self.resolver.lookup(message.into()))
    }
/// Resolve and connect to remote host
Resolve and connect to remote host
Resolve and connect to remote host
pub fn connect<U>(
        &self,
        message: U,
    ) -> impl Future<Output = Result<TcpStream, ConnectError>>
    where
        Connect<T>: From<U>,
    {
        ConnectServiceResponse::new(self.resolver.lookup(message.into()))
    }
pub fn connect < U > ( & self , message : U , ) -> impl Future < Output = Result < TcpStream , ConnectError > > where Connect < T > : From < U > , { ConnectServiceResponse :: new ( self . resolver . lookup ( message . into ( ) ) ) }
Resolve and connect to remote host
Resolve and connect to remote host
&self
message
U