pub enum ErrorBoundaryState {
Healthy,
Degraded,
Tripped,
}Expand description
Health state of an ErrorBoundary fault-isolation domain.
Variants§
Healthy
Boundary has no active consecutive faults and runs protected callbacks normally.
Degraded
Boundary caught one or more recent panics below its trip threshold and remains operational.
Tripped
Boundary reached its consecutive panic threshold and requires explicit recovery.
Trait Implementations§
Source§impl Clone for ErrorBoundaryState
impl Clone for ErrorBoundaryState
impl Copy for ErrorBoundaryState
Source§impl Debug for ErrorBoundaryState
impl Debug for ErrorBoundaryState
Source§impl Default for ErrorBoundaryState
impl Default for ErrorBoundaryState
impl Eq for ErrorBoundaryState
Source§impl Hash for ErrorBoundaryState
impl Hash for ErrorBoundaryState
Source§impl Ord for ErrorBoundaryState
impl Ord for ErrorBoundaryState
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ErrorBoundaryState
impl PartialEq for ErrorBoundaryState
Source§impl PartialOrd for ErrorBoundaryState
impl PartialOrd for ErrorBoundaryState
impl StructuralPartialEq for ErrorBoundaryState
Auto Trait Implementations§
impl Forget for ErrorBoundaryState
impl Freeze for ErrorBoundaryState
impl Move for ErrorBoundaryState
impl RefUnwindSafe for ErrorBoundaryState
impl Send for ErrorBoundaryState
impl Sync for ErrorBoundaryState
impl Unpin for ErrorBoundaryState
impl UnsafeUnpin for ErrorBoundaryState
impl UnwindSafe for ErrorBoundaryState
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