Struct netcore::transport::boxed::BoxedTransport [−][src]
pub struct BoxedTransport<O, E> { /* fields omitted */ }Expand description
See the boxed method for more information.
Trait Implementations
type Error = E
type Error = E
The Error type of errors which can happen while establishing a connection.
fn listen_on(
&self,
addr: NetworkAddress
) -> Result<(Self::Listener, NetworkAddress), Self::Error>
fn listen_on(
&self,
addr: NetworkAddress
) -> Result<(Self::Listener, NetworkAddress), Self::Error>
Listens on the given NetworkAddress, returning a stream of incoming connections. Read more
Dials the given NetworkAddress, returning a future for a pending outbound connection.