Skip to main content

IsReadWrite

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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: AsFilelike> IsReadWrite for T

Available on non-Windows only.