Trait io_extras::grip::AsGrip

source ·
pub trait AsGrip: AsFd {
    // Required method
    fn as_grip(&self) -> BorrowedGrip<'_>;
}
Expand description

Portability abstraction over AsFd and AsHandleOrSocket.

Required Methods§

source

fn as_grip(&self) -> BorrowedGrip<'_>

Extracts the grip.

Implementors§

source§

impl<T: AsFd> AsGrip for T