pub enum ErrorStatus {
Permanent,
Temporary,
Persistent,
}Expand description
Retry semantic, derived from ErrorCode via status_for_code.
Variants§
Permanent
Retrying with the same arguments will never succeed.
Temporary
The failure may be transient; retrying could succeed.
Persistent
The failure has been observed to recur; intervention is needed.
Trait Implementations§
Source§impl Clone for ErrorStatus
impl Clone for ErrorStatus
impl Copy for ErrorStatus
Source§impl Debug for ErrorStatus
impl Debug for ErrorStatus
Source§impl Display for ErrorStatus
impl Display for ErrorStatus
impl Eq for ErrorStatus
Source§impl Hash for ErrorStatus
impl Hash for ErrorStatus
Source§impl PartialEq for ErrorStatus
impl PartialEq for ErrorStatus
impl StructuralPartialEq for ErrorStatus
Auto Trait Implementations§
impl Freeze for ErrorStatus
impl RefUnwindSafe for ErrorStatus
impl Send for ErrorStatus
impl Sync for ErrorStatus
impl Unpin for ErrorStatus
impl UnsafeUnpin for ErrorStatus
impl UnwindSafe for ErrorStatus
Blanket Implementations§
impl<T> Allocation for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.