pub trait UnixFileSystem {
// Required methods
fn mode<P: AsRef<Path>>(&self, path: P) -> Result<u32>;
fn set_mode<P: AsRef<Path>>(&self, path: P, mode: u32) -> Result<()>;
}Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl UnixFileSystem for FakeFileSystem
Available on Unix only.
impl UnixFileSystem for OsFileSystem
Available on Unix only.