wrap

Function wrap 

Source
pub(crate) fn wrap<T: AsFd>(io: T) -> Result<Async<T>>
Expand description

Wrap a file descriptor into a non-blocking I/O type.