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.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
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.