Trait FromGrip
Other items inunsafe_io
pub trait FromGrip: FromFd { fn from_grip(owned_grip: OwnedGrip) -> Self; }
Portability abstraction over FromFd and FromHandleOrSocket.
FromFd
FromHandleOrSocket
fn from_grip(owned_grip: OwnedGrip) -> Self
Consume an OwnedGrip and convert into a Self.
OwnedGrip
Self
impl<T: FromFd> FromGrip for T