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§
sourcefn access_mode(&mut self, access: u32) -> &mut Self
fn access_mode(&mut self, access: u32) -> &mut Self
Wrapper for OpenOptionsExt::access_mode
Wrapper for OpenOptionsExt::share_mode
sourcefn custom_flags(&mut self, flags: u32) -> &mut Self
fn custom_flags(&mut self, flags: u32) -> &mut Self
Wrapper for OpenOptionsExt::custom_flags
sourcefn attributes(&mut self, val: u32) -> &mut Self
fn attributes(&mut self, val: u32) -> &mut Self
Wrapper for OpenOptionsExt::attributes
sourcefn security_qos_flags(&mut self, flags: u32) -> &mut Self
fn security_qos_flags(&mut self, flags: u32) -> &mut Self
Wrapper for OpenOptionsExt::security_qos_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.