Trait io_extras::grip::IntoGrip

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

Implementors§

source§

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