Struct sgx_sync::FutexFlags
source · #[repr(C)]pub struct FutexFlags(/* private fields */);
Implementations§
source§impl FutexFlags
impl FutexFlags
pub const PRIVATE: FutexFlags = _
pub const CLOCK_REALTIME: FutexFlags = _
pub const fn empty() -> FutexFlags
pub const fn all() -> FutexFlags
pub const fn bits(&self) -> u32
pub fn from_bits(bits: u32) -> Option<FutexFlags>
pub const fn from_bits_truncate(bits: u32) -> FutexFlags
sourcepub const unsafe fn from_bits_unchecked(bits: u32) -> FutexFlags
pub const unsafe fn from_bits_unchecked(bits: u32) -> FutexFlags
pub const fn is_empty(&self) -> bool
pub const fn is_all(&self) -> bool
pub const fn contains(&self, other: FutexFlags) -> bool
pub const fn intersects(&self, other: FutexFlags) -> bool
pub fn insert(&mut self, other: FutexFlags)
pub fn remove(&mut self, other: FutexFlags)
pub fn toggle(&mut self, other: FutexFlags)
Trait Implementations§
source§impl BitAnd for FutexFlags
impl BitAnd for FutexFlags
§type Output = FutexFlags
type Output = FutexFlags
The resulting type after applying the
&
operator.source§fn bitand(self, rhs: FutexFlags) -> FutexFlags
fn bitand(self, rhs: FutexFlags) -> FutexFlags
Performs the
&
operation. Read moresource§impl BitAndAssign for FutexFlags
impl BitAndAssign for FutexFlags
source§fn bitand_assign(&mut self, rhs: FutexFlags)
fn bitand_assign(&mut self, rhs: FutexFlags)
Performs the
&=
operation. Read moresource§impl BitOr for FutexFlags
impl BitOr for FutexFlags
§type Output = FutexFlags
type Output = FutexFlags
The resulting type after applying the
|
operator.source§fn bitor(self, rhs: FutexFlags) -> FutexFlags
fn bitor(self, rhs: FutexFlags) -> FutexFlags
Performs the
|
operation. Read moresource§impl BitOrAssign for FutexFlags
impl BitOrAssign for FutexFlags
source§fn bitor_assign(&mut self, rhs: FutexFlags)
fn bitor_assign(&mut self, rhs: FutexFlags)
Performs the
|=
operation. Read moresource§impl BitXor for FutexFlags
impl BitXor for FutexFlags
§type Output = FutexFlags
type Output = FutexFlags
The resulting type after applying the
^
operator.source§fn bitxor(self, rhs: FutexFlags) -> FutexFlags
fn bitxor(self, rhs: FutexFlags) -> FutexFlags
Performs the
^
operation. Read moresource§impl BitXorAssign for FutexFlags
impl BitXorAssign for FutexFlags
source§fn bitxor_assign(&mut self, rhs: FutexFlags)
fn bitxor_assign(&mut self, rhs: FutexFlags)
Performs the
^=
operation. Read moresource§impl Clone for FutexFlags
impl Clone for FutexFlags
source§fn clone(&self) -> FutexFlags
fn clone(&self) -> FutexFlags
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 FutexFlags
impl Debug for FutexFlags
source§impl Default for FutexFlags
impl Default for FutexFlags
source§impl From<FutexFlags> for FutexClockId
impl From<FutexFlags> for FutexClockId
source§fn from(flags: FutexFlags) -> FutexClockId
fn from(flags: FutexFlags) -> FutexClockId
Converts to this type from the input type.
source§impl Not for FutexFlags
impl Not for FutexFlags
§type Output = FutexFlags
type Output = FutexFlags
The resulting type after applying the
!
operator.source§fn not(self) -> FutexFlags
fn not(self) -> FutexFlags
Performs the unary
!
operation. Read moresource§impl PartialEq for FutexFlags
impl PartialEq for FutexFlags
source§fn eq(&self, other: &FutexFlags) -> bool
fn eq(&self, other: &FutexFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Sub for FutexFlags
impl Sub for FutexFlags
§type Output = FutexFlags
type Output = FutexFlags
The resulting type after applying the
-
operator.source§fn sub(self, rhs: FutexFlags) -> FutexFlags
fn sub(self, rhs: FutexFlags) -> FutexFlags
Performs the
-
operation. Read moresource§impl SubAssign for FutexFlags
impl SubAssign for FutexFlags
source§fn sub_assign(&mut self, rhs: FutexFlags)
fn sub_assign(&mut self, rhs: FutexFlags)
Performs the
-=
operation. Read moreimpl ContiguousMemory for FutexFlags
impl Copy for FutexFlags
impl Eq for FutexFlags
impl StructuralEq for FutexFlags
impl StructuralPartialEq for FutexFlags
Auto Trait Implementations§
impl RefUnwindSafe for FutexFlags
impl Send for FutexFlags
impl Sync for FutexFlags
impl Unpin for FutexFlags
impl UnwindSafe for FutexFlags
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