#[repr(u32)]pub(crate) enum Operation {
Show 14 variants
Wait = 0,
Wake = 1,
Fd = 2,
Requeue = 3,
CmpRequeue = 4,
WakeOp = 5,
LockPi = 6,
UnlockPi = 7,
TrylockPi = 8,
WaitBitset = 9,
WakeBitset = 10,
WaitRequeuePi = 11,
CmpRequeuePi = 12,
LockPi2 = 13,
}
Expand description
FUTEX_*
operations for use with the futex syscall wrappers.
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
WakeBitset = 10
FUTEX_WAKE_BITSET
WaitRequeuePi = 11
FUTEX_WAIT_REQUEUE_PI
CmpRequeuePi = 12
FUTEX_CMP_REQUEUE_PI
LockPi2 = 13
FUTEX_LOCK_PI2
Trait Implementations§
impl Copy for Operation
impl Eq for Operation
impl StructuralPartialEq for Operation
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
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
)