Trait io_extras::grip::AsRawReadWriteGrip
source · [−]pub trait AsRawReadWriteGrip: AsRawReadWriteFd {
fn as_raw_read_grip(&self) -> RawGrip;
fn as_raw_write_grip(&self) -> RawGrip;
}
Expand description
Portability abstraction over AsReadWriteFd
and
AsReadWriteHandleOrSocket
.
Required methods
fn as_raw_read_grip(&self) -> RawGrip
fn as_raw_read_grip(&self) -> RawGrip
Extracts the grip for reading.
Like AsRawGrip::as_raw_grip
, but returns the
raw reading grip.
fn as_raw_write_grip(&self) -> RawGrip
fn as_raw_write_grip(&self) -> RawGrip
Extracts the grip for writing.
Like AsRawGrip::as_raw_grip
, but returns the
raw writing grip.