system_interface::io

Trait IsReadWrite

Source
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§

Source

fn is_read_write(&self) -> Result<(bool, bool)>

Test whether the handle is readable and/or writable.

Implementors§