pub enum DiagnosticErrorCategory {
Preparation,
Authorization,
Endpoint,
Transport,
ResponseTransaction,
ResponsePolicy,
Decode,
}Expand description
Finite payload-free client failure category.
Variants§
Preparation
Provider request preparation failed before transport access.
Authorization
Execution authority was absent or invalid.
Endpoint
Endpoint identity or provider endpoint policy rejected dispatch.
Transport
The concrete transport failed without exposing its error payload.
ResponseTransaction
Response staging or commit failed.
ResponsePolicy
Provider-neutral response policy rejected the response.
Decode
Provider-owned checked decoding failed.
Trait Implementations§
Source§impl Clone for DiagnosticErrorCategory
impl Clone for DiagnosticErrorCategory
Source§fn clone(&self) -> DiagnosticErrorCategory
fn clone(&self) -> DiagnosticErrorCategory
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 moreimpl Copy for DiagnosticErrorCategory
Source§impl Debug for DiagnosticErrorCategory
impl Debug for DiagnosticErrorCategory
impl Eq for DiagnosticErrorCategory
Source§impl Hash for DiagnosticErrorCategory
impl Hash for DiagnosticErrorCategory
Source§impl Ord for DiagnosticErrorCategory
impl Ord for DiagnosticErrorCategory
Source§fn cmp(&self, other: &DiagnosticErrorCategory) -> Ordering
fn cmp(&self, other: &DiagnosticErrorCategory) -> Ordering
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
Source§impl PartialEq for DiagnosticErrorCategory
impl PartialEq for DiagnosticErrorCategory
Source§impl PartialOrd for DiagnosticErrorCategory
impl PartialOrd for DiagnosticErrorCategory
impl StructuralPartialEq for DiagnosticErrorCategory
Auto Trait Implementations§
impl Freeze for DiagnosticErrorCategory
impl RefUnwindSafe for DiagnosticErrorCategory
impl Send for DiagnosticErrorCategory
impl Sync for DiagnosticErrorCategory
impl Unpin for DiagnosticErrorCategory
impl UnsafeUnpin for DiagnosticErrorCategory
impl UnwindSafe for DiagnosticErrorCategory
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