pub trait OpenOptionsExt {
// Required method
fn custom_flags(&mut self, flags: i32) -> &mut Self;
}🔬This is a nightly-only experimental API. (
wasi_ext #71213)Available on WASI only.
Expand description
WASI-specific extensions to OpenOptions.
Required Methods§
Sourcefn custom_flags(&mut self, flags: i32) -> &mut Self
🔬This is a nightly-only experimental API. (wasi_ext #71213)
fn custom_flags(&mut self, flags: i32) -> &mut Self
wasi_ext #71213)Pass custom flags to the flags argument of open.
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.