#[repr(u32)]pub enum FutexOperation {
Wait = 0,
Wake = 1,
Fd = 2,
Requeue = 3,
CmpRequeue = 4,
WakeOp = 5,
LockPi = 6,
UnlockPi = 7,
TrylockPi = 8,
WaitBitset = 9,
}
Expand description
FUTEX_*
operations for use with the futex
function.
Variants§
Wait = 0
FUTEX_WAIT
Wake = 1
FUTEX_WAKE
Fd = 2
FUTEX_FD
Requeue = 3
FUTEX_REQUEUE
CmpRequeue = 4
FUTEX_CMP_REQUEUE
WakeOp = 5
FUTEX_WAKE_OP
LockPi = 6
FUTEX_LOCK_PI
UnlockPi = 7
FUTEX_UNLOCK_PI
TrylockPi = 8
FUTEX_TRYLOCK_PI
WaitBitset = 9
FUTEX_WAIT_BITSET
Trait Implementations§
source§impl Clone for FutexOperation
impl Clone for FutexOperation
source§fn clone(&self) -> FutexOperation
fn clone(&self) -> FutexOperation
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 FutexOperation
impl Debug for FutexOperation
source§impl PartialEq for FutexOperation
impl PartialEq for FutexOperation
source§fn eq(&self, other: &FutexOperation) -> bool
fn eq(&self, other: &FutexOperation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FutexOperation
impl Eq for FutexOperation
impl StructuralPartialEq for FutexOperation
Auto Trait Implementations§
impl Freeze for FutexOperation
impl RefUnwindSafe for FutexOperation
impl Send for FutexOperation
impl Sync for FutexOperation
impl Unpin for FutexOperation
impl UnwindSafe for FutexOperation
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