Skip to main content

DefaultTransport

Type Alias DefaultTransport 

Source
pub type DefaultTransport = UnixStream;
Expand description

The transport WeirClient uses when no type parameter is given.

Unix keeps the Unix-domain socket it has always defaulted to, so WeirClient continues to mean WeirClient<UnixStream> there and no existing signature changes. Elsewhere there is no such socket, so the default is the TCP stream the TLS connector wraps.

Aliased Typeยง

pub struct DefaultTransport(/* private fields */);