Struct openat2::OpenHow [−][src]
#[non_exhaustive]#[repr(C)]pub struct OpenHow { pub flags: u64, pub mode: u64, pub resolve: ResolveFlags, }
A structure that specifies how a path should be opened with openat2()
.
Fields (Non-exhaustive)
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct {{ .. }}
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.flags: u64
The file creation and file status flags to use when opening the file.
mode: u64
The mode to create the file with.
If O_CREAT
or O_TMPFILE
is in Self::flags
, this must be 0.
resolve: ResolveFlags
Flags that modify path resolution. See ResolveFlags
.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OpenHow
impl RefUnwindSafe for OpenHow
impl UnwindSafe for OpenHow
impl UnwindSafe for OpenHow