fs_err::os::unix::fs

Trait OpenOptionsExt

source
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§

source

fn mode(&mut self, mode: u32) -> &mut Self

source

fn custom_flags(&mut self, flags: i32) -> &mut Self

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§