pub struct RetryHandler;Expand description
Mark the error as retryable.
Trait Implementations§
Source§impl ErrorHandler for RetryHandler
impl ErrorHandler for RetryHandler
Source§fn handle(
&self,
_name: &str,
_error_msg: &str,
_cycle: u64,
_duration_nanos: u64,
detail: ErrorDetail,
) -> ErrorDetail
fn handle( &self, _name: &str, _error_msg: &str, _cycle: u64, _duration_nanos: u64, detail: ErrorDetail, ) -> ErrorDetail
Handle an error, returning a potentially transformed ErrorDetail. Read more
Auto Trait Implementations§
impl Freeze for RetryHandler
impl RefUnwindSafe for RetryHandler
impl Send for RetryHandler
impl Sync for RetryHandler
impl Unpin for RetryHandler
impl UnsafeUnpin for RetryHandler
impl UnwindSafe for RetryHandler
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