#[repr(u32)]pub enum ThreadSyncOp {
Equal = 0,
}
Expand description
Possible operations the kernel can perform when looking at the supplies reference and the
supplied value. If the operation *reference OP value
evaluates to true (or false if the INVERT
flag is passed), then the thread is put
to sleep.
Variants§
Equal = 0
Compare for equality
Implementations§
source§impl ThreadSyncOp
impl ThreadSyncOp
Trait Implementations§
source§impl Clone for ThreadSyncOp
impl Clone for ThreadSyncOp
source§fn clone(&self) -> ThreadSyncOp
fn clone(&self) -> ThreadSyncOp
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 ThreadSyncOp
impl Debug for ThreadSyncOp
source§impl Hash for ThreadSyncOp
impl Hash for ThreadSyncOp
source§impl Ord for ThreadSyncOp
impl Ord for ThreadSyncOp
source§fn cmp(&self, other: &ThreadSyncOp) -> Ordering
fn cmp(&self, other: &ThreadSyncOp) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ThreadSyncOp
impl PartialEq for ThreadSyncOp
source§impl PartialOrd for ThreadSyncOp
impl PartialOrd for ThreadSyncOp
impl Copy for ThreadSyncOp
impl Eq for ThreadSyncOp
impl StructuralPartialEq for ThreadSyncOp
Auto Trait Implementations§
impl Freeze for ThreadSyncOp
impl ObjSafe for ThreadSyncOp
impl RefUnwindSafe for ThreadSyncOp
impl Send for ThreadSyncOp
impl Sync for ThreadSyncOp
impl Unpin for ThreadSyncOp
impl UnwindSafe for ThreadSyncOp
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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.