pub enum FailureCause {
SubnetFailure {
subnet: SubnetId,
affected_ratio: f32,
},
BroadOutage,
Unknown,
}Expand description
Suspected cause of a mass failure.
Variants§
SubnetFailure
Failures concentrated in a single subnet (likely partition).
Fields
BroadOutage
Failures spread across subnets (likely infrastructure outage).
Unknown
Insufficient subnet data to determine cause.
Trait Implementations§
Source§impl Clone for FailureCause
impl Clone for FailureCause
Source§fn clone(&self) -> FailureCause
fn clone(&self) -> FailureCause
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 FailureCause
impl Debug for FailureCause
Source§impl PartialEq for FailureCause
impl PartialEq for FailureCause
Source§fn eq(&self, other: &FailureCause) -> bool
fn eq(&self, other: &FailureCause) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FailureCause
Auto Trait Implementations§
impl Freeze for FailureCause
impl RefUnwindSafe for FailureCause
impl Send for FailureCause
impl Sync for FailureCause
impl Unpin for FailureCause
impl UnsafeUnpin for FailureCause
impl UnwindSafe for FailureCause
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