pub trait FromGrip: From<OwnedFd> {
// Required method
fn from_grip(owned_grip: OwnedGrip) -> Self;
}
Expand description
Portability abstraction over From<OwnedFd>
and
From<OwnedHandleOrSocket>
.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.