pub struct RetryPolicyGuard { /* private fields */ }Expand description
Guard that restores the previous state of a named retry policy on drop. If the policy existed before, it is restored; if it was newly added, it is removed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RetryPolicyGuard
impl RefUnwindSafe for RetryPolicyGuard
impl Send for RetryPolicyGuard
impl Sync for RetryPolicyGuard
impl Unpin for RetryPolicyGuard
impl UnsafeUnpin for RetryPolicyGuard
impl UnwindSafe for RetryPolicyGuard
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