pub struct DescriptorFlags { /* private fields */ }
Implementations§
Source§impl DescriptorFlags
impl DescriptorFlags
pub const READ: Self = _
pub const WRITE: Self = _
pub const FILE_INTEGRITY_SYNC: Self = _
pub const DATA_INTEGRITY_SYNC: Self = _
pub const REQUESTED_WRITE_SYNC: Self = _
pub const MUTATE_DIRECTORY: 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 BitAnd for DescriptorFlags
impl BitAnd for DescriptorFlags
Source§type Output = DescriptorFlags
type Output = DescriptorFlags
The resulting type after applying the
&
operator.Source§fn bitand(self, rhs: DescriptorFlags) -> DescriptorFlags
fn bitand(self, rhs: DescriptorFlags) -> DescriptorFlags
Performs the
&
operation. Read moreSource§impl BitAndAssign for DescriptorFlags
impl BitAndAssign for DescriptorFlags
Source§fn bitand_assign(&mut self, rhs: DescriptorFlags)
fn bitand_assign(&mut self, rhs: DescriptorFlags)
Performs the
&=
operation. Read moreSource§impl BitOr for DescriptorFlags
impl BitOr for DescriptorFlags
Source§type Output = DescriptorFlags
type Output = DescriptorFlags
The resulting type after applying the
|
operator.Source§fn bitor(self, rhs: DescriptorFlags) -> DescriptorFlags
fn bitor(self, rhs: DescriptorFlags) -> DescriptorFlags
Performs the
|
operation. Read moreSource§impl BitOrAssign for DescriptorFlags
impl BitOrAssign for DescriptorFlags
Source§fn bitor_assign(&mut self, rhs: DescriptorFlags)
fn bitor_assign(&mut self, rhs: DescriptorFlags)
Performs the
|=
operation. Read moreSource§impl BitXor for DescriptorFlags
impl BitXor for DescriptorFlags
Source§type Output = DescriptorFlags
type Output = DescriptorFlags
The resulting type after applying the
^
operator.Source§fn bitxor(self, rhs: DescriptorFlags) -> DescriptorFlags
fn bitxor(self, rhs: DescriptorFlags) -> DescriptorFlags
Performs the
^
operation. Read moreSource§impl BitXorAssign for DescriptorFlags
impl BitXorAssign for DescriptorFlags
Source§fn bitxor_assign(&mut self, rhs: DescriptorFlags)
fn bitxor_assign(&mut self, rhs: DescriptorFlags)
Performs the
^=
operation. Read moreSource§impl Clone for DescriptorFlags
impl Clone for DescriptorFlags
Source§fn clone(&self) -> DescriptorFlags
fn clone(&self) -> DescriptorFlags
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DescriptorFlags
impl Debug for DescriptorFlags
Source§impl Default for DescriptorFlags
impl Default for DescriptorFlags
Source§fn default() -> DescriptorFlags
fn default() -> DescriptorFlags
Returns the “default value” for a type. Read more
Source§impl From<DescriptorFlags> for DescriptorFlags
impl From<DescriptorFlags> for DescriptorFlags
Source§fn from(other: DescriptorFlags) -> Self
fn from(other: DescriptorFlags) -> Self
Converts to this type from the input type.
Source§impl From<DescriptorFlags> for DescriptorFlags
impl From<DescriptorFlags> for DescriptorFlags
Source§fn from(other: DescriptorFlags) -> Self
fn from(other: DescriptorFlags) -> Self
Converts to this type from the input type.
Source§impl Not for DescriptorFlags
impl Not for DescriptorFlags
Source§type Output = DescriptorFlags
type Output = DescriptorFlags
The resulting type after applying the
!
operator.Source§fn not(self) -> DescriptorFlags
fn not(self) -> DescriptorFlags
Performs the unary
!
operation. Read moreSource§impl PartialEq for DescriptorFlags
impl PartialEq for DescriptorFlags
impl ComponentType for DescriptorFlags
impl Copy for DescriptorFlags
impl Eq for DescriptorFlags
impl Lift for DescriptorFlags
impl Lower for DescriptorFlags
Auto Trait Implementations§
impl Freeze for DescriptorFlags
impl RefUnwindSafe for DescriptorFlags
impl Send for DescriptorFlags
impl Sync for DescriptorFlags
impl Unpin for DescriptorFlags
impl UnwindSafe for DescriptorFlags
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§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.§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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more