#[non_exhaustive]pub enum BusinessErrorKind {
InvalidRequest,
Authentication,
PermissionDenied,
TargetNotFound,
DataNotReady,
UnsupportedTarget,
RateLimited,
UpstreamUnavailable,
Other,
}Expand description
Stable recovery category for an upstream non-zero business result.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidRequest
Authentication
PermissionDenied
TargetNotFound
DataNotReady
UnsupportedTarget
RateLimited
Other
Trait Implementations§
Source§impl Clone for BusinessErrorKind
impl Clone for BusinessErrorKind
Source§fn clone(&self) -> BusinessErrorKind
fn clone(&self) -> BusinessErrorKind
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 BusinessErrorKind
Source§impl Debug for BusinessErrorKind
impl Debug for BusinessErrorKind
impl Eq for BusinessErrorKind
Source§impl PartialEq for BusinessErrorKind
impl PartialEq for BusinessErrorKind
impl StructuralPartialEq for BusinessErrorKind
Auto Trait Implementations§
impl Freeze for BusinessErrorKind
impl RefUnwindSafe for BusinessErrorKind
impl Send for BusinessErrorKind
impl Sync for BusinessErrorKind
impl Unpin for BusinessErrorKind
impl UnsafeUnpin for BusinessErrorKind
impl UnwindSafe for BusinessErrorKind
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