Trait io_extras::grip::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.

Object Safety§

This trait is not object safe.

Implementors§