pub struct OpenFlags { /* private fields */ }
Implementations§
Source§impl OpenFlags
impl OpenFlags
pub const CREATE: Self = _
pub const DIRECTORY: Self = _
pub const EXCLUSIVE: Self = _
pub const TRUNCATE: Self = _
pub fn as_array(&self) -> [u32; 1]
pub fn empty() -> Self
pub fn all() -> Self
pub fn contains(&self, other: Self) -> bool
pub fn intersects(&self, other: Self) -> bool
Trait Implementations§
Source§impl BitAndAssign for OpenFlags
impl BitAndAssign for OpenFlags
Source§fn bitand_assign(&mut self, rhs: OpenFlags)
fn bitand_assign(&mut self, rhs: OpenFlags)
Performs the
&=
operation. Read moreSource§impl BitOrAssign for OpenFlags
impl BitOrAssign for OpenFlags
Source§fn bitor_assign(&mut self, rhs: OpenFlags)
fn bitor_assign(&mut self, rhs: OpenFlags)
Performs the
|=
operation. Read moreSource§impl BitXorAssign for OpenFlags
impl BitXorAssign for OpenFlags
Source§fn bitxor_assign(&mut self, rhs: OpenFlags)
fn bitxor_assign(&mut self, rhs: OpenFlags)
Performs the
^=
operation. Read moreimpl ComponentType for OpenFlags
impl Copy for OpenFlags
impl Eq for OpenFlags
impl Lift for OpenFlags
impl Lower 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
Source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self
file descriptor.Source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
Source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
Set the “status” flags for the
self
file descriptor. Read more