Function afio::evented_fd [] [src]

pub fn evented_fd<'a>(fd: &'a RawFd) -> Result<EventedFd<'a>, Error>

Make an Evented Fd

Creates a simple and safe interface to interface with MIO. The goal is to allow mio to work with File IO. Provided your system is unix this will let it interface with MIO event loop.

The RawFd passed to this function will be made non-blocking.