pub enum RecoveryAction {
CorrectRequest,
Retry,
ResolveWithSameIdempotencyKey,
ObtainPermission,
RefreshContract,
ContactOperator,
}Expand description
Safe, protocol-neutral recovery guidance for a public failure.
Variants§
CorrectRequest
Correct the request before submitting it again.
Retry
Retry the operation according to the caller’s retry policy.
ResolveWithSameIdempotencyKey
Resolve or retry the command with the original idempotency key.
ObtainPermission
Obtain an appropriate permission before retrying.
RefreshContract
Refresh contract metadata and rebuild the request.
ContactOperator
Escalate the incident to an operator.
Trait Implementations§
Source§impl Clone for RecoveryAction
impl Clone for RecoveryAction
impl Copy for RecoveryAction
Source§impl Debug for RecoveryAction
impl Debug for RecoveryAction
impl Eq for RecoveryAction
Source§impl Hash for RecoveryAction
impl Hash for RecoveryAction
Source§impl PartialEq for RecoveryAction
impl PartialEq for RecoveryAction
impl StructuralPartialEq for RecoveryAction
Auto Trait Implementations§
impl Freeze for RecoveryAction
impl RefUnwindSafe for RecoveryAction
impl Send for RecoveryAction
impl Sync for RecoveryAction
impl Unpin for RecoveryAction
impl UnsafeUnpin for RecoveryAction
impl UnwindSafe for RecoveryAction
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