pub enum HeadCheckpointRefusal {
BeyondLog {
covered: u64,
},
WrongSequence {
covered: u64,
found: u64,
},
}Expand description
Why a recorded head was not trusted.
Variants§
BeyondLog
The record claims covered rows and the row before that position is absent.
WrongSequence
The row the record names carries a different sequence than its position.
Trait Implementations§
Source§impl Clone for HeadCheckpointRefusal
impl Clone for HeadCheckpointRefusal
impl Copy for HeadCheckpointRefusal
Source§impl Debug for HeadCheckpointRefusal
impl Debug for HeadCheckpointRefusal
Source§impl Display for HeadCheckpointRefusal
impl Display for HeadCheckpointRefusal
impl Eq for HeadCheckpointRefusal
Source§impl PartialEq for HeadCheckpointRefusal
impl PartialEq for HeadCheckpointRefusal
impl StructuralPartialEq for HeadCheckpointRefusal
Auto Trait Implementations§
impl Freeze for HeadCheckpointRefusal
impl RefUnwindSafe for HeadCheckpointRefusal
impl Send for HeadCheckpointRefusal
impl Sync for HeadCheckpointRefusal
impl Unpin for HeadCheckpointRefusal
impl UnsafeUnpin for HeadCheckpointRefusal
impl UnwindSafe for HeadCheckpointRefusal
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.