Trait simple_stream::SocketOptions [] [src]

pub trait SocketOptions {
    fn set_nonblocking(&mut self) -> Result<()Error>;
}

The SocketOptions trait allows for various system-level settings for Berkley Sockets.

Required Methods

fn set_nonblocking(&mut self) -> Result<()Error>

Sets the O_NONBLOCK flag on the underlying fd

Implementors