pub enum RingStatus {
Empty,
Published,
Claimed,
Done,
WaitIo,
Yield,
Requeue,
Fault,
Unknown(u32),
}Expand description
Decoded top-level ring slot state.
Variants§
Empty
Slot is free.
Published
Slot is published and waiting for a worker.
Claimed
Slot has been claimed by a worker.
Done
Slot completed and can be recycled.
WaitIo
Slot is waiting for an asynchronous IO continuation.
Yield
Slot yielded execution back to the scheduler.
Requeue
Slot is heavily contested and has been requeued.
Fault
Slot hit a hardware or software fault constraint.
Unknown(u32)
Unknown raw wire value.
Implementations§
Trait Implementations§
Source§impl Clone for RingStatus
impl Clone for RingStatus
Source§fn clone(&self) -> RingStatus
fn clone(&self) -> RingStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RingStatus
impl Debug for RingStatus
Source§impl PartialEq for RingStatus
impl PartialEq for RingStatus
Source§fn eq(&self, other: &RingStatus) -> bool
fn eq(&self, other: &RingStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RingStatus
impl Eq for RingStatus
impl StructuralPartialEq for RingStatus
Auto Trait Implementations§
impl Freeze for RingStatus
impl RefUnwindSafe for RingStatus
impl Send for RingStatus
impl Sync for RingStatus
impl Unpin for RingStatus
impl UnsafeUnpin for RingStatus
impl UnwindSafe for RingStatus
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.