pub enum ChainStep {
SequenceMismatch,
HeadMismatch,
Exhausted,
Continue(u64),
}Expand description
Result of checking one chain link against the running position.
Variants§
SequenceMismatch
The record did not carry the next expected sequence number.
HeadMismatch
The record did not link to the running chain head.
Exhausted
The record is valid, but no later u64 sequence number exists.
Continue(u64)
The record is valid and the chain continues at this sequence number.
Trait Implementations§
impl Copy for ChainStep
impl Eq for ChainStep
impl StructuralPartialEq for ChainStep
Auto Trait Implementations§
impl Freeze for ChainStep
impl RefUnwindSafe for ChainStep
impl Send for ChainStep
impl Sync for ChainStep
impl Unpin for ChainStep
impl UnsafeUnpin for ChainStep
impl UnwindSafe for ChainStep
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