Trait fibers_transport::TcpTransport[][src]

pub trait TcpTransport: Transport<PeerAddr = ()> {
    fn peer_addr(&self) -> SocketAddr;
fn local_addr(&self) -> SocketAddr; }

This trait indicates that the implementation implements TCP.

Required Methods

Returns the address of the connected peer.

Returns the address to which the instance is bound.

Implementors