pub enum EmbeddedPersistenceDiagnostic {
Restored(EmbeddedPersistenceRestoreReport),
BatchPersisted {
records: u32,
at: InstantMillis,
state_not_saved: bool,
},
CompactionStarted {
at: InstantMillis,
next_allowed_at: InstantMillis,
},
CompactionCompleted {
records: u32,
at: InstantMillis,
state_not_saved: bool,
},
DurabilityDeferred {
target: EmbeddedPersistenceTarget,
until: InstantMillis,
},
WriteFailed {
failure: EmbeddedPersistenceFailure,
retry_at: InstantMillis,
},
}Variants§
Restored(EmbeddedPersistenceRestoreReport)
BatchPersisted
CompactionStarted
CompactionCompleted
DurabilityDeferred
WriteFailed
Trait Implementations§
Source§impl Clone for EmbeddedPersistenceDiagnostic
impl Clone for EmbeddedPersistenceDiagnostic
Source§fn clone(&self) -> EmbeddedPersistenceDiagnostic
fn clone(&self) -> EmbeddedPersistenceDiagnostic
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EmbeddedPersistenceDiagnostic
impl Eq for EmbeddedPersistenceDiagnostic
impl StructuralPartialEq for EmbeddedPersistenceDiagnostic
Auto Trait Implementations§
impl Freeze for EmbeddedPersistenceDiagnostic
impl RefUnwindSafe for EmbeddedPersistenceDiagnostic
impl Send for EmbeddedPersistenceDiagnostic
impl Sync for EmbeddedPersistenceDiagnostic
impl Unpin for EmbeddedPersistenceDiagnostic
impl UnsafeUnpin for EmbeddedPersistenceDiagnostic
impl UnwindSafe for EmbeddedPersistenceDiagnostic
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