pub struct StoredState {
pub objects: BTreeMap<ContentId, Vec<u8>>,
pub datums: BTreeMap<ContentId, Datum>,
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>>§datums: BTreeMap<ContentId, Datum>Verified semantic values keyed by their kernel Datum identity.
entries: BTreeMap<u64, JournalEntry>§head: Option<JournalHead>Trait Implementations§
Source§impl Clone for StoredState
impl Clone for StoredState
Source§impl Debug for StoredState
impl Debug for StoredState
Auto Trait Implementations§
impl Forget for StoredState
impl Freeze for StoredStatewhere
*const LeafNode<ContentId, Vec<u8>> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(ContentId, Vec<u8>)>>: Freeze,
*const LeafNode<ContentId, Datum> is !null: Freeze,
PhantomData<Box<(ContentId, Datum)>>: Freeze,
*const LeafNode<u64, JournalEntry> is !null: Freeze,
PhantomData<Box<(u64, JournalEntry)>>: Freeze,
*const ArcInner<str> is !null: Freeze,
PhantomData<ArcInner<str>>: Freeze,
impl Move for StoredState
impl RefUnwindSafe for StoredState
impl Send for StoredState
impl Sync for StoredState
impl Unpin for StoredState
impl UnsafeUnpin for StoredStatewhere
*const LeafNode<ContentId, Vec<u8>> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(ContentId, Vec<u8>)>>: UnsafeUnpin,
*const LeafNode<ContentId, Datum> is !null: UnsafeUnpin,
PhantomData<Box<(ContentId, Datum)>>: UnsafeUnpin,
*const LeafNode<u64, JournalEntry> is !null: UnsafeUnpin,
PhantomData<Box<(u64, JournalEntry)>>: UnsafeUnpin,
*const ArcInner<str> is !null: UnsafeUnpin,
PhantomData<ArcInner<str>>: UnsafeUnpin,
impl UnwindSafe for StoredStatewhere
BTreeMap<ContentId, Vec<u8>>: UnwindSafe,
BTreeMap<ContentId, Datum>: UnwindSafe,
BTreeMap<u64, JournalEntry>: UnwindSafe,
Arc<str>: UnwindSafe,
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