pub struct Open(/* private fields */);Expand description
One exact open(2) flag set.
Implementations§
Source§impl Open
impl Open
pub const NONE: Self
pub const READ: Self
pub const WRITE: Self
pub const READ_WRITE: Self
pub const DIRECTORY: Self
pub const CREATE: Self
pub const EXCLUSIVE: Self
pub const TRUNCATE: Self
pub const NO_FOLLOW: Self
pub const NONBLOCK: Self
pub const CLOSE_ON_EXEC: Self
pub const fn union(self, other: Self) -> Self
pub const fn difference(self, other: Self) -> Self
pub const fn contains(self, other: Self) -> bool
pub const fn raw(self) -> c_int
Trait Implementations§
impl Copy for Open
impl Eq for Open
impl StructuralPartialEq for Open
Auto Trait Implementations§
impl Freeze for Open
impl RefUnwindSafe for Open
impl Send for Open
impl Sync for Open
impl Unpin for Open
impl UnsafeUnpin for Open
impl UnwindSafe for Open
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