pub struct RetryManager { /* private fields */ }Implementations§
Source§impl RetryManager
impl RetryManager
pub fn new(err_map_component: Arc<ErrMapComponent>) -> Self
pub async fn maybe_retry( &self, request: &mut RetryInfo, reason: RetryReason, ) -> Option<Duration>
Auto Trait Implementations§
impl Freeze for RetryManager
impl RefUnwindSafe for RetryManager
impl Send for RetryManager
impl Sync for RetryManager
impl Unpin for RetryManager
impl UnwindSafe for RetryManager
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