pub enum ErrorRecovery {
Retry,
Fallback,
Degrade,
Fail,
}
Expand description
Error recovery strategies
Variantsยง
Retry
Retry the operation
Fallback
Fallback to alternative method
Degrade
Gracefully degrade functionality
Fail
Fail fast and propagate error
Trait Implementationsยง
Sourceยงimpl Clone for ErrorRecovery
impl Clone for ErrorRecovery
Sourceยงfn clone(&self) -> ErrorRecovery
fn clone(&self) -> ErrorRecovery
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSourceยงimpl Debug for ErrorRecovery
impl Debug for ErrorRecovery
impl Copy for ErrorRecovery
Auto Trait Implementationsยง
impl Freeze for ErrorRecovery
impl RefUnwindSafe for ErrorRecovery
impl Send for ErrorRecovery
impl Sync for ErrorRecovery
impl Unpin for ErrorRecovery
impl UnwindSafe for ErrorRecovery
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