cap_fs_ext

Trait IsFileReadWrite

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