pub trait OpenOptionsExt: Sealed {
// Required methods
fn mode(&mut self, mode: u32) -> &mut Self;
fn custom_flags(&mut self, flags: i32) -> &mut Self;
}
Expand description
Wrapper for std::os::unix::fs::OpenOptionsExt
The std traits might be extended in the future (See issue #49961). This trait is sealed and can not be implemented by other crates.
Required Methods§
sourcefn mode(&mut self, mode: u32) -> &mut Self
fn mode(&mut self, mode: u32) -> &mut Self
Wrapper for OpenOptionsExt::mode
sourcefn custom_flags(&mut self, flags: i32) -> &mut Self
fn custom_flags(&mut self, flags: i32) -> &mut Self
Wrapper for OpenOptionsExt::custom_flags
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.