pub enum SoapErrorKind {
NotFound,
Validation,
Conflict,
Unauthorized,
Forbidden,
Domain,
Unsupported,
Timeout,
Unavailable,
Infrastructure,
}Expand description
Stable category of a SoapError.
Applications and transports should branch on this value instead of parsing an error message or depending on an infrastructure-specific source type.
Variants§
NotFound
A requested resource does not exist.
Validation
Input or domain validation failed.
Conflict
The requested change conflicts with existing state.
Authentication is missing or invalid.
Forbidden
The authenticated actor is not allowed to perform an operation.
Domain
A domain invariant or operation failed.
Unsupported
A requested capability is not supported by an adapter.
Timeout
An infrastructure operation exceeded its deadline.
An infrastructure dependency is temporarily unavailable.
Infrastructure
An infrastructure component failed for another reason.
Implementations§
Source§impl SoapErrorKind
impl SoapErrorKind
Sourcepub const fn is_reportable(self) -> bool
pub const fn is_reportable(self) -> bool
Indicates whether this category should normally be reported to monitoring.
Trait Implementations§
Source§impl Clone for SoapErrorKind
impl Clone for SoapErrorKind
Source§fn clone(&self) -> SoapErrorKind
fn clone(&self) -> SoapErrorKind
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 SoapErrorKind
Source§impl Debug for SoapErrorKind
impl Debug for SoapErrorKind
impl Eq for SoapErrorKind
Source§impl Hash for SoapErrorKind
impl Hash for SoapErrorKind
Source§impl PartialEq for SoapErrorKind
impl PartialEq for SoapErrorKind
impl StructuralPartialEq for SoapErrorKind
Auto Trait Implementations§
impl Freeze for SoapErrorKind
impl RefUnwindSafe for SoapErrorKind
impl Send for SoapErrorKind
impl Sync for SoapErrorKind
impl Unpin for SoapErrorKind
impl UnsafeUnpin for SoapErrorKind
impl UnwindSafe for SoapErrorKind
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