pub enum LoadOutcome {
Empty,
Loaded(usize),
}Variants§
Empty
No snapshot file on disk; start with fresh state.
Loaded(usize)
Snapshot loaded successfully; returns the restored account count.
Trait Implementations§
Source§impl Debug for LoadOutcome
impl Debug for LoadOutcome
impl Eq for LoadOutcome
Source§impl PartialEq for LoadOutcome
impl PartialEq for LoadOutcome
Source§fn eq(&self, other: &LoadOutcome) -> bool
fn eq(&self, other: &LoadOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LoadOutcome
Auto Trait Implementations§
impl Freeze for LoadOutcome
impl RefUnwindSafe for LoadOutcome
impl Send for LoadOutcome
impl Sync for LoadOutcome
impl Unpin for LoadOutcome
impl UnsafeUnpin for LoadOutcome
impl UnwindSafe for LoadOutcome
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.