pub enum StoredSnapshot {
Absent,
Damaged(String),
Present(ChainSnapshot),
}Expand description
What the snapshot directory holds.
Variants§
Absent
Damaged(String)
Bytes that are not a whole snapshot, with the reason; a caller discards them and folds the whole ledger.
Present(ChainSnapshot)
Trait Implementations§
Source§impl Clone for StoredSnapshot
impl Clone for StoredSnapshot
Source§impl Debug for StoredSnapshot
impl Debug for StoredSnapshot
impl Eq for StoredSnapshot
Source§impl PartialEq for StoredSnapshot
impl PartialEq for StoredSnapshot
impl StructuralPartialEq for StoredSnapshot
Auto Trait Implementations§
impl Freeze for StoredSnapshot
impl RefUnwindSafe for StoredSnapshot
impl Send for StoredSnapshot
impl Sync for StoredSnapshot
impl Unpin for StoredSnapshot
impl UnsafeUnpin for StoredSnapshot
impl UnwindSafe for StoredSnapshot
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