fs_err::os::windows::fs

Trait OpenOptionsExt

source
pub trait OpenOptionsExt: Sealed {
    // Required methods
    fn access_mode(&mut self, access: u32) -> &mut Self;
    fn share_mode(&mut self, val: u32) -> &mut Self;
    fn custom_flags(&mut self, flags: u32) -> &mut Self;
    fn attributes(&mut self, val: u32) -> &mut Self;
    fn security_qos_flags(&mut self, flags: u32) -> &mut Self;
}
Expand description

Wrapper for std::os::windows::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 access_mode(&mut self, access: u32) -> &mut Self

source

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

source

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

source

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

source

fn security_qos_flags(&mut self, flags: u32) -> &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§