Trait distant_net::WindowsPipeClientExt
source · [−]pub trait WindowsPipeClientExt<T, U> where
T: Serialize + Send + Sync,
U: DeserializeOwned + Send + Sync, {
fn connect<'async_trait, A, C>(
addr: A,
codec: C
) -> Pin<Box<dyn Future<Output = Result<Client<T, U>>> + Send + 'async_trait>>
where
A: AsRef<OsStr> + Send,
C: Codec + Send + 'static,
A: 'async_trait,
C: 'async_trait;
fn connect_local<'async_trait, N, C>(
name: N,
codec: C
) -> Pin<Box<dyn Future<Output = Result<Client<T, U>>> + Send + 'async_trait>>
where
N: AsRef<OsStr> + Send,
C: Codec + Send + 'static,
N: 'async_trait,
C: 'async_trait,
Self: Send + 'async_trait,
{ ... }
fn connect_timeout<'async_trait, A, C>(
addr: A,
codec: C,
duration: Duration
) -> Pin<Box<dyn Future<Output = Result<Client<T, U>>> + Send + 'async_trait>>
where
A: AsRef<OsStr> + Send,
C: Codec + Send + 'static,
A: 'async_trait,
C: 'async_trait,
Self: Send + 'async_trait,
{ ... }
fn connect_local_timeout<'async_trait, N, C>(
name: N,
codec: C,
duration: Duration
) -> Pin<Box<dyn Future<Output = Result<Client<T, U>>> + Send + 'async_trait>>
where
N: AsRef<OsStr> + Send,
C: Codec + Send + 'static,
N: 'async_trait,
C: 'async_trait,
Self: Send + 'async_trait,
{ ... }
}Required Methods
Connect to a server listening on a Windows pipe at the specified address using the given codec
Provided Methods
Connect to a server listening on a Windows pipe at the specified address
via \\.\pipe\{name} using the given codec
Connect to a server listening on a Windows pipe at the specified address using the given codec, timing out after duration has passed
Connect to a server listening on a Windows pipe at the specified address
via \\.\pipe\{name} using the given codec, timing out after duration has passed