pub struct StateRecoveryStats {
pub loaded_from_disk: bool,
pub recovered_from_corrupt: bool,
pub rotated_from_older_schema: Option<u32>,
pub generation: u64,
}Fields§
§loaded_from_disk: bool§recovered_from_corrupt: bool§rotated_from_older_schema: Option<u32>When an older on-disk schema (actual < expected) was rotated to <file>.v{actual},
records Some(actual) so callers know persistence stayed active with a preserved backup.
generation: u64Trait Implementations§
Source§impl Clone for StateRecoveryStats
impl Clone for StateRecoveryStats
impl Copy for StateRecoveryStats
Source§impl Debug for StateRecoveryStats
impl Debug for StateRecoveryStats
Source§impl Default for StateRecoveryStats
impl Default for StateRecoveryStats
impl Eq for StateRecoveryStats
Source§impl PartialEq for StateRecoveryStats
impl PartialEq for StateRecoveryStats
impl StructuralPartialEq for StateRecoveryStats
Auto Trait Implementations§
impl Forget for StateRecoveryStats
impl Freeze for StateRecoveryStats
impl Move for StateRecoveryStats
impl RefUnwindSafe for StateRecoveryStats
impl Send for StateRecoveryStats
impl Sync for StateRecoveryStats
impl Unpin for StateRecoveryStats
impl UnsafeUnpin for StateRecoveryStats
impl UnwindSafe for StateRecoveryStats
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