pub struct Restored {
pub manifest: Option<Manifest>,
pub entities: BTreeMap<String, Vec<Envelope>>,
pub lost: Vec<EntityRef>,
pub unindexed: Vec<EntityRef>,
}Expand description
What a restore found.
Fields§
§manifest: Option<Manifest>None ⇒ a fresh instance (no manifest).
entities: BTreeMap<String, Vec<Envelope>>Live entities by kind (tombstones excluded), each the latest envelope.
lost: Vec<EntityRef>Indexed but missing from the store.
unindexed: Vec<EntityRef>Entities found by list that the manifest did not index (written after
the last flush — entity-first write order).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Restored
impl RefUnwindSafe for Restored
impl Send for Restored
impl Sync for Restored
impl Unpin for Restored
impl UnsafeUnpin for Restored
impl UnwindSafe for Restored
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