io_extras::grip

Trait IntoGrip

source
pub trait IntoGrip: Into<OwnedFd> {
    // 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.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: Into<OwnedFd>> IntoGrip for T