pub(crate) fn wrap<T: AsFd>(io: T) -> Result<Async<T>>
Wrap a file descriptor into a non-blocking I/O type.