Enum garage_rpc::system::ClusterHealthStatus
source · pub enum ClusterHealthStatus {
Healthy,
Degraded,
Unavailable,
}
Variants§
Healthy
All nodes are available
Degraded
Some storage nodes are unavailable, but quorum is stil achieved for all partitions
Quorum is not available for some partitions
Trait Implementations§
source§impl Clone for ClusterHealthStatus
impl Clone for ClusterHealthStatus
source§fn clone(&self) -> ClusterHealthStatus
fn clone(&self) -> ClusterHealthStatus
Returns a copy of the value. Read more
1.0.0 · 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 ClusterHealthStatus
impl Debug for ClusterHealthStatus
source§impl PartialEq for ClusterHealthStatus
impl PartialEq for ClusterHealthStatus
source§fn eq(&self, other: &ClusterHealthStatus) -> bool
fn eq(&self, other: &ClusterHealthStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ClusterHealthStatus
impl Eq for ClusterHealthStatus
impl StructuralPartialEq for ClusterHealthStatus
Auto Trait Implementations§
impl Freeze for ClusterHealthStatus
impl RefUnwindSafe for ClusterHealthStatus
impl Send for ClusterHealthStatus
impl Sync for ClusterHealthStatus
impl Unpin for ClusterHealthStatus
impl UnwindSafe for ClusterHealthStatus
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<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.