Trait cap_fs_ext::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§
sourcefn is_file_read_write(&self) -> Result<(bool, bool)>
fn is_file_read_write(&self) -> Result<(bool, bool)>
Test whether the given file is readable and/or writable.