pub enum FaultAttribution {
Caller,
RemotePeer,
LocalResource,
Dependency,
Configuration,
Bug,
Unknown,
}Expand description
Party or resource attributed with a canonical failure.
Variants§
Caller
The caller supplied invalid input or violated a contract.
RemotePeer
A remote peer failed or rejected an operation.
LocalResource
A local resource failed or became exhausted.
Dependency
A required dependency failed.
Configuration
Configuration caused the failure.
Bug
An implementation invariant was violated.
Unknown
The failure cannot be attributed safely.
Trait Implementations§
Source§impl Clone for FaultAttribution
impl Clone for FaultAttribution
impl Copy for FaultAttribution
Source§impl Debug for FaultAttribution
impl Debug for FaultAttribution
impl Eq for FaultAttribution
Source§impl Hash for FaultAttribution
impl Hash for FaultAttribution
Source§impl Ord for FaultAttribution
impl Ord for FaultAttribution
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 FaultAttribution
impl PartialEq for FaultAttribution
Source§impl PartialOrd for FaultAttribution
impl PartialOrd for FaultAttribution
impl StructuralPartialEq for FaultAttribution
Auto Trait Implementations§
impl Freeze for FaultAttribution
impl RefUnwindSafe for FaultAttribution
impl Send for FaultAttribution
impl Sync for FaultAttribution
impl Unpin for FaultAttribution
impl UnsafeUnpin for FaultAttribution
impl UnwindSafe for FaultAttribution
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