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