pub struct NamespaceDiagnostics {
pub namespace_id: NamespaceId,
pub head_seq: ChangeSeq,
pub retention_floor_seq: ChangeSeq,
pub current_manifest_no: Option<ManifestNo>,
pub wal_tail_segments: u64,
pub live_snapshots: u64,
pub live_checkpoints: u64,
}Expand description
Namespace state and storage details used by maintenance.
Fields§
§namespace_id: NamespaceIdNamespace ID.
head_seq: ChangeSeqCurrent visible namespace sequence.
retention_floor_seq: ChangeSeqOldest sequence still promised for incremental replay.
current_manifest_no: Option<ManifestNo>Current manifest pointer recorded by the head.
wal_tail_segments: u64Number of visible WAL segments after the current manifest.
live_snapshots: u64Number of snapshots that had not expired when diagnostics began.
live_checkpoints: u64Number of active user checkpoints, including expired records awaiting collection.
Trait Implementations§
Source§impl Clone for NamespaceDiagnostics
impl Clone for NamespaceDiagnostics
Source§fn clone(&self) -> NamespaceDiagnostics
fn clone(&self) -> NamespaceDiagnostics
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 NamespaceDiagnostics
impl Debug for NamespaceDiagnostics
Source§impl<'de> Deserialize<'de> for NamespaceDiagnostics
impl<'de> Deserialize<'de> for NamespaceDiagnostics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NamespaceDiagnostics
Source§impl PartialEq for NamespaceDiagnostics
impl PartialEq for NamespaceDiagnostics
Source§impl Serialize for NamespaceDiagnostics
impl Serialize for NamespaceDiagnostics
impl StructuralPartialEq for NamespaceDiagnostics
Auto Trait Implementations§
impl Freeze for NamespaceDiagnostics
impl RefUnwindSafe for NamespaceDiagnostics
impl Send for NamespaceDiagnostics
impl Sync for NamespaceDiagnostics
impl Unpin for NamespaceDiagnostics
impl UnsafeUnpin for NamespaceDiagnostics
impl UnwindSafe for NamespaceDiagnostics
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