pub enum BreakerStatus {
Healthy,
Watch,
Review,
Unavailable,
}Expand description
Advisory circuit-breaker state.
Variants§
Healthy
No current concern supported by evidence.
Watch
One concerning window or a cooldown window.
Review
Multiple distinct concerning windows support human review.
Optional provider was absent, malformed, or low-confidence.
Trait Implementations§
Source§impl Clone for BreakerStatus
impl Clone for BreakerStatus
impl Copy for BreakerStatus
Source§impl Debug for BreakerStatus
impl Debug for BreakerStatus
Source§impl<'de> Deserialize<'de> for BreakerStatus
impl<'de> Deserialize<'de> for BreakerStatus
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 BreakerStatus
Source§impl PartialEq for BreakerStatus
impl PartialEq for BreakerStatus
Source§impl Serialize for BreakerStatus
impl Serialize for BreakerStatus
impl StructuralPartialEq for BreakerStatus
Auto Trait Implementations§
impl Forget for BreakerStatus
impl Freeze for BreakerStatus
impl Move for BreakerStatus
impl RefUnwindSafe for BreakerStatus
impl Send for BreakerStatus
impl Sync for BreakerStatus
impl Unpin for BreakerStatus
impl UnsafeUnpin for BreakerStatus
impl UnwindSafe for BreakerStatus
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<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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more