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.