pub enum RetrySetting<P> {
Inherit,
Disabled,
Policy(P),
}Expand description
Whether an operation inherits, disables, or replaces its client’s retry policy.
Variants§
Inherit
Resolve to the configured client default.
Disabled
Execute at most once, independently of the client default.
Policy(P)
Replace the entire client policy for this operation.
Implementations§
Trait Implementations§
Source§impl<P: Clone> Clone for RetrySetting<P>
impl<P: Clone> Clone for RetrySetting<P>
Source§impl<P: Debug> Debug for RetrySetting<P>
impl<P: Debug> Debug for RetrySetting<P>
Source§impl<P> Default for RetrySetting<P>
impl<P> Default for RetrySetting<P>
Source§impl<P: PartialEq> PartialEq for RetrySetting<P>
impl<P: PartialEq> PartialEq for RetrySetting<P>
impl<P: PartialEq> StructuralPartialEq for RetrySetting<P>
Auto Trait Implementations§
impl<P> Forget for RetrySetting<P>
impl<P> Freeze for RetrySetting<P>where
P: Freeze,
impl<P> Move for RetrySetting<P>
impl<P> RefUnwindSafe for RetrySetting<P>where
P: RefUnwindSafe,
impl<P> Send for RetrySetting<P>where
P: Send,
impl<P> Sync for RetrySetting<P>where
P: Sync,
impl<P> Unpin for RetrySetting<P>where
P: Unpin,
impl<P> UnsafeUnpin for RetrySetting<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for RetrySetting<P>where
P: UnwindSafe,
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