[−][src]Trait fizyr_rpc::util::IntoTransport
Trait to allow generic creation of transports from a socket.
Associated Types
type Body: Body
[src]
The body type for messages transferred over the transport.
type Config: Clone + Send + Sync + 'static
[src]
The configuration type of the transport.
type Transport: Transport<Body = Self::Body> + Send + 'static
[src]
The transport type.
Required methods
fn into_transport(self, config: Self::Config) -> Self::Transport
[src]
Create a transport from self
and a configuration struct.
Provided methods
fn into_default_transport(self) -> Self::Transport where
Self::Config: Default,
[src]
Self::Config: Default,
Create a transport from self
using the default configuration.