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.
Implementations on Foreign Types§
Source§impl IsFileReadWrite for File
impl IsFileReadWrite for File
Source§impl IsFileReadWrite for File
Available on crate feature std only.
impl IsFileReadWrite for File
Available on crate feature
std only.