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