pub struct OpenFlags(/* private fields */);Implementations§
Source§impl OpenFlags
impl OpenFlags
pub const O_RDONLY: Self
pub const O_WRONLY: Self
pub const O_RDWR: Self
pub const O_CREAT: Self
pub const O_DIRECTORY: Self
pub const O_EXCL: Self
pub const O_NOCTTY: Self
pub const O_NOFOLLOW: Self
pub const O_TMPFILE: Self
pub const O_TRUNC: Self
pub const O_APPEND: Self
pub const O_ASYNC: Self
pub const O_CLOEXEC: Self
pub const O_DIRECT: Self
pub const O_DSYNC: Self
pub const O_LARGEFILE: Self
pub const O_NOATIME: Self
pub const O_NONBLOCK: Self
pub const O_NDELAY: Self
pub const O_PATH: Self
pub const O_SYNC: Self
pub const fn bits(&self) -> NonNegativeI32
pub const fn empty() -> Self
pub fn contains(&self, other: Self) -> bool
Trait Implementations§
Source§impl BitAndAssign for OpenFlags
impl BitAndAssign for OpenFlags
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOrAssign for OpenFlags
impl BitOrAssign for OpenFlags
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Ord for OpenFlags
impl Ord for OpenFlags
Source§impl PartialOrd for OpenFlags
impl PartialOrd for OpenFlags
impl Copy for OpenFlags
impl Eq for OpenFlags
impl StructuralPartialEq for OpenFlags
Auto Trait Implementations§
impl Freeze for OpenFlags
impl RefUnwindSafe for OpenFlags
impl Send for OpenFlags
impl Sync for OpenFlags
impl Unpin for OpenFlags
impl UnwindSafe for OpenFlags
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