pub trait IsReadWrite { fn is_read_write(&self) -> Result<(bool, bool)>; }
A trait for the is_read_write function.
is_read_write
Test whether the handle is readable and/or writable.