#[repr(C)]pub struct open_how {
pub flags: u64,
pub mode: u64,
pub resolve: u64,
}Expand description
Arguments for how openat2(2) should open the target path.
Fields§
§flags: u64Flags for the open operation (e.g. O_RDONLY).
mode: u64Mode for the created file (if O_CREAT is set).
resolve: u64Resolution flags (e.g. RESOLVE_IN_ROOT).
Trait Implementations§
impl Copy for open_how
Auto Trait Implementations§
impl Freeze for open_how
impl RefUnwindSafe for open_how
impl Send for open_how
impl Sync for open_how
impl Unpin for open_how
impl UnwindSafe for open_how
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more