pub enum PriorityQueueState {
Active {
next: u64,
queued: usize,
},
Exhausted {
queued: usize,
},
}Expand description
Complete admission phase of a PriorityQueue.
Variants§
Active
Further offers can receive a fresh tie-order token.
Exhausted
The insertion-token domain is exhausted; retained values remain releasable.
Trait Implementations§
Source§impl Clone for PriorityQueueState
impl Clone for PriorityQueueState
Source§fn clone(&self) -> PriorityQueueState
fn clone(&self) -> PriorityQueueState
Returns a duplicate 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 PriorityQueueState
impl Debug for PriorityQueueState
Source§impl PartialEq for PriorityQueueState
impl PartialEq for PriorityQueueState
impl Copy for PriorityQueueState
impl Eq for PriorityQueueState
impl StructuralPartialEq for PriorityQueueState
Auto Trait Implementations§
impl Freeze for PriorityQueueState
impl RefUnwindSafe for PriorityQueueState
impl Send for PriorityQueueState
impl Sync for PriorityQueueState
impl Unpin for PriorityQueueState
impl UnsafeUnpin for PriorityQueueState
impl UnwindSafe for PriorityQueueState
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