pub trait IsFileReadWrite {
    // Required method
    fn is_file_read_write(&self) -> Result<(bool, bool)>;
}
Expand description

A trait for the is_file_read_write function for File types.

This is only implemented for File types; for arbitrary I/O handles, use system_interface::io::IsReadWrite instead.

Required Methods§

source

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

Test whether the given file is readable and/or writable.

Implementations on Foreign Types§

source§

impl IsFileReadWrite for File

source§

impl IsFileReadWrite for File

Implementors§