pub struct StorageTopologyDiagnostics {
pub topology: String,
pub control_database_path: String,
pub repository_shards_dir: Option<String>,
pub shard_catalog_active: bool,
pub active_shard_count: usize,
pub staged_shard_count: usize,
pub missing_shard_count: usize,
pub runtime_state_paths: Vec<String>,
pub shards: Vec<StorageShardDiagnostics>,
pub degraded_reason: Option<String>,
}Expand description
Storage topology and shard-catalog diagnostics surfaced by the control plane.
Fields§
§topology: String§control_database_path: String§repository_shards_dir: Option<String>§shard_catalog_active: bool§active_shard_count: usize§staged_shard_count: usize§missing_shard_count: usize§runtime_state_paths: Vec<String>§shards: Vec<StorageShardDiagnostics>§degraded_reason: Option<String>Trait Implementations§
Source§impl Clone for StorageTopologyDiagnostics
impl Clone for StorageTopologyDiagnostics
Source§fn clone(&self) -> StorageTopologyDiagnostics
fn clone(&self) -> StorageTopologyDiagnostics
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 StorageTopologyDiagnostics
impl Debug for StorageTopologyDiagnostics
Source§impl<'de> Deserialize<'de> for StorageTopologyDiagnostics
impl<'de> Deserialize<'de> for StorageTopologyDiagnostics
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 StorageTopologyDiagnostics
impl StructuralPartialEq for StorageTopologyDiagnostics
Auto Trait Implementations§
impl Freeze for StorageTopologyDiagnostics
impl RefUnwindSafe for StorageTopologyDiagnostics
impl Send for StorageTopologyDiagnostics
impl Sync for StorageTopologyDiagnostics
impl Unpin for StorageTopologyDiagnostics
impl UnsafeUnpin for StorageTopologyDiagnostics
impl UnwindSafe for StorageTopologyDiagnostics
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.