#[non_exhaustive]pub enum CheckpointLineageError {
HeadMismatch,
AlreadyComplete,
}Expand description
Rejected checkpoint in reverse lineage verification.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
HeadMismatch
A checkpoint did not materialize the exact expected compact head.
AlreadyComplete
Another checkpoint appeared after the superstep-zero root.
Trait Implementations§
Source§impl Clone for CheckpointLineageError
impl Clone for CheckpointLineageError
impl Copy for CheckpointLineageError
Source§impl Debug for CheckpointLineageError
impl Debug for CheckpointLineageError
Source§impl Display for CheckpointLineageError
impl Display for CheckpointLineageError
impl Eq for CheckpointLineageError
Source§impl Error for CheckpointLineageError
impl Error for CheckpointLineageError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for CheckpointLineageError
impl PartialEq for CheckpointLineageError
impl StructuralPartialEq for CheckpointLineageError
Auto Trait Implementations§
impl Forget for CheckpointLineageError
impl Freeze for CheckpointLineageError
impl Move for CheckpointLineageError
impl RefUnwindSafe for CheckpointLineageError
impl Send for CheckpointLineageError
impl Sync for CheckpointLineageError
impl Unpin for CheckpointLineageError
impl UnsafeUnpin for CheckpointLineageError
impl UnwindSafe for CheckpointLineageError
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