Trait fibers_transport::UdpTransport [−][src]
pub trait UdpTransport: Transport<PeerAddr = SocketAddr> { fn local_addr(&self) -> SocketAddr; }
This trait indicates that the implementation implements UDP.
Required Methods
fn local_addr(&self) -> SocketAddr
Returns the address to which the instance is bound.
Implementors
impl<T: UdpTransport> UdpTransport for FixedPeerTransporter<T, SocketAddr>
impl<T: UdpTransport> UdpTransport for RcTransporter<T>
impl<E: Encode, D: Decode> UdpTransport for UdpTransporter<E, D>