pub struct DbDiagnostics {
pub build: BuildIdentity,
pub db_path: Option<String>,
pub wal_file: Option<WalFileState>,
pub checkpoint_counters: CheckpointCounters,
pub checkpoint_probe: Option<CheckpointProbe>,
pub checkpoint_probe_error: Option<String>,
pub wal_pin: WalPinAttribution,
}Expand description
The full diagnostics payload.
Fields§
§build: BuildIdentity§db_path: Option<String>None for an in-memory backend — the file-backed sections then carry
their own unavailability reasons.
wal_file: Option<WalFileState>§checkpoint_counters: CheckpointCounters§checkpoint_probe: Option<CheckpointProbe>§checkpoint_probe_error: Option<String>§wal_pin: WalPinAttributionTrait Implementations§
Source§impl Clone for DbDiagnostics
impl Clone for DbDiagnostics
Source§fn clone(&self) -> DbDiagnostics
fn clone(&self) -> DbDiagnostics
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 moreSource§impl Debug for DbDiagnostics
impl Debug for DbDiagnostics
Source§impl PartialEq for DbDiagnostics
impl PartialEq for DbDiagnostics
Source§impl Serialize for DbDiagnostics
impl Serialize for DbDiagnostics
impl StructuralPartialEq for DbDiagnostics
Auto Trait Implementations§
impl Freeze for DbDiagnostics
impl RefUnwindSafe for DbDiagnostics
impl Send for DbDiagnostics
impl Sync for DbDiagnostics
impl Unpin for DbDiagnostics
impl UnsafeUnpin for DbDiagnostics
impl UnwindSafe for DbDiagnostics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more