pub struct Flags {
pub inner: i32,
}Expand description
Like OpenOptions. Use libc or the associated constants.
Std OpenOpentions sadly doesn’t provide any way of getting the libc flags out of it.
At least I don’t know of any way.
Fields§
§inner: i32Implementations§
Auto Trait Implementations§
impl Freeze for Flags
impl RefUnwindSafe for Flags
impl Send for Flags
impl Sync for Flags
impl Unpin for Flags
impl UnsafeUnpin for Flags
impl UnwindSafe for Flags
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