pub struct StoredState {
pub objects: BTreeMap<ContentId, Vec<u8>>,
pub entries: BTreeMap<u64, JournalEntry>,
pub head: Option<JournalHead>,
}Expand description
A consistent backend snapshot used for verification and replay.
Fields§
§objects: BTreeMap<ContentId, Vec<u8>>§entries: BTreeMap<u64, JournalEntry>§head: Option<JournalHead>Trait Implementations§
Source§impl Clone for StoredState
impl Clone for StoredState
Source§fn clone(&self) -> StoredState
fn clone(&self) -> StoredState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StoredState
impl Debug for StoredState
Source§impl Default for StoredState
impl Default for StoredState
Source§fn default() -> StoredState
fn default() -> StoredState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StoredState
impl RefUnwindSafe for StoredState
impl Send for StoredState
impl Sync for StoredState
impl Unpin for StoredState
impl UnsafeUnpin for StoredState
impl UnwindSafe for StoredState
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