Skip to main content

OpenOptionsExt

Trait OpenOptionsExt 

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

Source

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

🔬This is a nightly-only experimental API. (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".

Implementors§