pub enum Steal {
Success(StealResult),
Empty,
Retry,
}Expand description
Outcome of SharedDequeKhl::steal_slot.
Variants§
Success(StealResult)
Got items from one slot (1..=KHL_ITEMS_PER_SLOT).
Empty
Ring empty.
Retry
CAS lost or publisher’s Release on sequence is missing from the snapshot; outer loop should retry.
Trait Implementations§
impl Copy for Steal
impl Eq for Steal
impl StructuralPartialEq for Steal
Auto Trait Implementations§
impl Freeze for Steal
impl RefUnwindSafe for Steal
impl Send for Steal
impl Sync for Steal
impl Unpin for Steal
impl UnsafeUnpin for Steal
impl UnwindSafe for Steal
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