#[non_exhaustive]pub enum Repair {
EntryReleased {
region: UnavailableRegion,
},
InvalidEntryReleased {
page: u32,
seq: u32,
},
PageAccepted {
page: u32,
},
}Expand description
What one repair of a store did (v0.5 E6), as Store::repairs
returns it: for the caller’s own log (the library prints nothing).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
EntryReleased
repair_unavailable: an unavailable region’s table entry released
(its bytes untouched; its space free again where no other region’s
footprint lies).
Fields
§
region: UnavailableRegionThe region, as unavailable_regions listed it.
InvalidEntryReleased
repair_unavailable: a table entry of a kind this version does not
know (metadata.invalid_entries) released.
PageAccepted
accept_page_rollback: a stale page’s winner made the page’s
content (whatever its lost commits held is given up).
Trait Implementations§
impl Eq for Repair
impl StructuralPartialEq for Repair
Auto Trait Implementations§
impl Forget for Repair
impl Freeze for Repair
impl Move for Repair
impl RefUnwindSafe for Repair
impl Send for Repair
impl Sync for Repair
impl Unpin for Repair
impl UnsafeUnpin for Repair
impl UnwindSafe for Repair
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