io_extras::grip

Trait IntoGrip

Source
pub trait IntoGrip: Into<OwnedHandleOrSocket> {
    // Required method
    fn into_grip(self) -> OwnedGrip;
}
Expand description

Portability abstraction over Into<OwnedFd> and Into<OwnedHandleOrSocket>.

Required Methods§

Source

fn into_grip(self) -> OwnedGrip

Consume self and convert into an OwnedGrip.

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.

Implementors§