Trait asyncio::Socket [] [src]

pub trait Socket<P: Protocol>: AsIoContext + AsRawFd + Send + 'static {
    unsafe fn from_raw_fd(&IoContext, pro: P, fd: RawFd) -> Self;
    fn protocol(&self) -> P;
}

Required Methods

Implementors