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§