pub enum ReaderState {
Uninitialized,
Found,
EndOfCycle,
CycleNotFound,
BeforeStart,
NotReached,
}Expand description
State of a reader in the queue.
Variants§
Uninitialized
Not yet initialized.
Found
Positioned at a valid entry.
EndOfCycle
Reached the end of the current cycle.
CycleNotFound
The requested cycle doesn’t exist.
BeforeStart
Before the start of a cycle.
NotReached
Entry not yet written.
Trait Implementations§
Source§impl Clone for ReaderState
impl Clone for ReaderState
Source§fn clone(&self) -> ReaderState
fn clone(&self) -> ReaderState
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 ReaderState
impl Debug for ReaderState
Source§impl PartialEq for ReaderState
impl PartialEq for ReaderState
impl Copy for ReaderState
impl Eq for ReaderState
impl StructuralPartialEq for ReaderState
Auto Trait Implementations§
impl Freeze for ReaderState
impl RefUnwindSafe for ReaderState
impl Send for ReaderState
impl Sync for ReaderState
impl Unpin for ReaderState
impl UnwindSafe for ReaderState
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