io_extras::grip

Trait AsRawGrip

Source
pub trait AsRawGrip: AsRawHandleOrSocket {
    // 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§