pub enum SequencerState {
Active {
expected: Sequence,
buffered: usize,
},
Exhausted,
}Expand description
Complete lifecycle state of a Sequencer.
Variants§
Active
The next position can still be accepted.
Fields
Exhausted
Sequence(u64::MAX) was delivered; no successor is representable.
Trait Implementations§
Source§impl Clone for SequencerState
impl Clone for SequencerState
Source§fn clone(&self) -> SequencerState
fn clone(&self) -> SequencerState
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 SequencerState
impl Debug for SequencerState
Source§impl PartialEq for SequencerState
impl PartialEq for SequencerState
impl Eq for SequencerState
impl StructuralPartialEq for SequencerState
Auto Trait Implementations§
impl Freeze for SequencerState
impl RefUnwindSafe for SequencerState
impl Send for SequencerState
impl Sync for SequencerState
impl Unpin for SequencerState
impl UnsafeUnpin for SequencerState
impl UnwindSafe for SequencerState
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