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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§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<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