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.

Implementations on Foreign Types§

Source§

impl IsReadWrite for File

Source§

impl IsReadWrite for TcpStream

Implementors§