pub trait FromRawGrip: FromRawFd {
    unsafe fn from_raw_grip(raw_grip: RawGrip) -> Self;
}
Expand description

Portability abstraction over FromFd and FromHandleOrSocket.

Required methods

Consume an RawGrip and convert into a Self.

Safety

raw_grip must be a suitable grip for assuming ownership.

Implementors