pub enum ClusterHealth {
Ok,
Fail,
Unknown,
}Expand description
Overall cluster health status.
Variants§
Ok
Cluster is operational and all slots are covered.
Fail
Cluster has failed nodes or uncovered slots.
Unknown
Cluster state is being computed.
Trait Implementations§
Source§impl Clone for ClusterHealth
impl Clone for ClusterHealth
Source§fn clone(&self) -> ClusterHealth
fn clone(&self) -> ClusterHealth
Returns a duplicate 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 ClusterHealth
impl Debug for ClusterHealth
Source§impl Display for ClusterHealth
impl Display for ClusterHealth
Source§impl PartialEq for ClusterHealth
impl PartialEq for ClusterHealth
impl Copy for ClusterHealth
impl Eq for ClusterHealth
impl StructuralPartialEq for ClusterHealth
Auto Trait Implementations§
impl Freeze for ClusterHealth
impl RefUnwindSafe for ClusterHealth
impl Send for ClusterHealth
impl Sync for ClusterHealth
impl Unpin for ClusterHealth
impl UnsafeUnpin for ClusterHealth
impl UnwindSafe for ClusterHealth
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