pub enum CheckpointRestore {
Unchanged {
index: usize,
},
Rewound {
previous_index: usize,
index: usize,
},
Advanced {
previous_index: usize,
index: usize,
},
}Expand description
How a successful trusted restore changed checkpoint progress.
Variants§
Unchanged
The save already identifies the current anchor.
Rewound
An earlier anchor was restored, intentionally discarding later progress.
Advanced
A later saved anchor was restored, possibly beyond the next trigger.
Trait Implementations§
Source§impl Clone for CheckpointRestore
impl Clone for CheckpointRestore
Source§fn clone(&self) -> CheckpointRestore
fn clone(&self) -> CheckpointRestore
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 CheckpointRestore
impl Debug for CheckpointRestore
Source§impl PartialEq for CheckpointRestore
impl PartialEq for CheckpointRestore
impl Copy for CheckpointRestore
impl Eq for CheckpointRestore
impl StructuralPartialEq for CheckpointRestore
Auto Trait Implementations§
impl Freeze for CheckpointRestore
impl RefUnwindSafe for CheckpointRestore
impl Send for CheckpointRestore
impl Sync for CheckpointRestore
impl Unpin for CheckpointRestore
impl UnwindSafe for CheckpointRestore
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