pub trait TcpDistantManagerClientExt {
    fn connect<'async_trait, C>(
        config: DistantManagerClientConfig,
        addr: SocketAddr,
        codec: C
    ) -> Pin<Box<dyn Future<Output = Result<DistantManagerClient>> + Send + 'async_trait>>
    where
        C: Codec + Send + 'static,
        C: 'async_trait
; fn connect_timeout<'async_trait, C>(
        config: DistantManagerClientConfig,
        addr: SocketAddr,
        codec: C,
        duration: Duration
    ) -> Pin<Box<dyn Future<Output = Result<DistantManagerClient>> + Send + 'async_trait>>
    where
        C: Codec + Send + 'static,
        C: 'async_trait,
        Self: Send + 'async_trait
, { ... } }

Required Methods

Connect to a remote TCP server using the provided information

Provided Methods

Connect to a remote TCP server, timing out after duration has passed

Implementors