Trait asyncio::SockAddr
[−]
[src]
pub trait SockAddr: Clone + Send + 'static { type SockAddr: ?Sized; fn as_ref(&self) -> &Self::SockAddr; unsafe fn as_mut(&mut self) -> &mut Self::SockAddr; fn capacity(&self) -> usize; fn size(&self) -> usize; unsafe fn resize(&mut self, size: usize); }
Associated Types
Required Methods
fn as_ref(&self) -> &Self::SockAddr
unsafe fn as_mut(&mut self) -> &mut Self::SockAddr
fn capacity(&self) -> usize
fn size(&self) -> usize
unsafe fn resize(&mut self, size: usize)
Implementors
impl<P: Protocol> SockAddr for IpEndpoint<P>
impl<P: Protocol> SockAddr for LocalEndpoint<P>
impl<P: Protocol> SockAddr for GenericEndpoint<P>