pub enum CheckpointRestoreError {
RulesMismatch {
expected: u64,
actual: u64,
},
InvalidIndex {
index: usize,
anchor_count: usize,
},
}Expand description
A rejected restore. Neither error changes the current checkpoint.
Variants§
RulesMismatch
Rules are checked before the saved index, including when both are invalid.
InvalidIndex
The rules match, but the saved index is outside the authored route.
Trait Implementations§
Source§impl Clone for CheckpointRestoreError
impl Clone for CheckpointRestoreError
Source§fn clone(&self) -> CheckpointRestoreError
fn clone(&self) -> CheckpointRestoreError
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 CheckpointRestoreError
impl Debug for CheckpointRestoreError
Source§impl PartialEq for CheckpointRestoreError
impl PartialEq for CheckpointRestoreError
impl Copy for CheckpointRestoreError
impl Eq for CheckpointRestoreError
impl StructuralPartialEq for CheckpointRestoreError
Auto Trait Implementations§
impl Freeze for CheckpointRestoreError
impl RefUnwindSafe for CheckpointRestoreError
impl Send for CheckpointRestoreError
impl Sync for CheckpointRestoreError
impl Unpin for CheckpointRestoreError
impl UnwindSafe for CheckpointRestoreError
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