io_extras::grip

Trait AsRawGrip

source
pub trait AsRawGrip: AsRawFd {
    // Required method
    fn as_raw_grip(&self) -> RawGrip;
}
Expand description

Portability abstraction over AsFd and AsHandleOrSocket.

Required Methods§

source

fn as_raw_grip(&self) -> RawGrip

Extracts the raw grip.

Implementors§

source§

impl<T: AsRawFd> AsRawGrip for T