pub enum WholeFold {
NoSnapshot,
Damaged(String),
OtherFoldVersion {
found: u32,
},
Stale,
Missing,
}Expand description
Why a start could not resume from the snapshot.
Variants§
NoSnapshot
Damaged(String)
The reason read_snapshot gave for bytes that are not a snapshot.
OtherFoldVersion
The fold rules changed since the snapshot was cut.
Stale
Another line sits at the snapshot’s seq.
Missing
The ledger ends before the snapshot’s seq.
Trait Implementations§
impl Eq for WholeFold
impl StructuralPartialEq for WholeFold
Auto Trait Implementations§
impl Freeze for WholeFold
impl RefUnwindSafe for WholeFold
impl Send for WholeFold
impl Sync for WholeFold
impl Unpin for WholeFold
impl UnsafeUnpin for WholeFold
impl UnwindSafe for WholeFold
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