pub trait UnixSocketDistantManagerClientExt {
fn connect<'async_trait, P, C>(
config: DistantManagerClientConfig,
path: P,
codec: C
) -> Pin<Box<dyn Future<Output = Result<DistantManagerClient>> + Send + 'async_trait>>
where
P: AsRef<Path> + Send,
C: Codec + Send + 'static,
P: 'async_trait,
C: 'async_trait;
fn connect_timeout<'async_trait, P, C>(
config: DistantManagerClientConfig,
path: P,
codec: C,
duration: Duration
) -> Pin<Box<dyn Future<Output = Result<DistantManagerClient>> + Send + 'async_trait>>
where
P: AsRef<Path> + Send,
C: Codec + Send + 'static,
P: 'async_trait,
C: 'async_trait,
Self: Send + 'async_trait,
{ ... }
}
Required Methods
Provided Methods
sourcefn connect_timeout<'async_trait, P, C>(
config: DistantManagerClientConfig,
path: P,
codec: C,
duration: Duration
) -> Pin<Box<dyn Future<Output = Result<DistantManagerClient>> + Send + 'async_trait>> where
P: AsRef<Path> + Send,
C: Codec + Send + 'static,
P: 'async_trait,
C: 'async_trait,
Self: Send + 'async_trait,
fn connect_timeout<'async_trait, P, C>(
config: DistantManagerClientConfig,
path: P,
codec: C,
duration: Duration
) -> Pin<Box<dyn Future<Output = Result<DistantManagerClient>> + Send + 'async_trait>> where
P: AsRef<Path> + Send,
C: Codec + Send + 'static,
P: 'async_trait,
C: 'async_trait,
Self: Send + 'async_trait,
Connect to a proxy unix socket, timing out after duration has passed