pub struct Restored {
pub collection: Collection,
pub missing: usize,
}Expand description
What came back from an image.
Fields§
§collection: CollectionThe collection.
missing: usizeHow many keys the image named that the store could not produce.
Zero on any pair of an image and a log that were written together. A number here is a log that was compacted or truncated past the checkpoint the image belongs to, and it is worth reporting rather than swallowing, because it is the difference between a collection that is smaller than it was and a collection that is smaller than it should be.
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