pub struct RetryPolicyArg(/* private fields */);Expand description
A helper type to use RetryPolicy in client and request options.
Trait Implementations§
Source§impl Clone for RetryPolicyArg
impl Clone for RetryPolicyArg
Source§fn clone(&self) -> RetryPolicyArg
fn clone(&self) -> RetryPolicyArg
Returns a copy 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 From<Arc<dyn RetryPolicy>> for RetryPolicyArg
impl From<Arc<dyn RetryPolicy>> for RetryPolicyArg
Source§fn from(value: Arc<dyn RetryPolicy>) -> Self
fn from(value: Arc<dyn RetryPolicy>) -> Self
Converts to this type from the input type.
Source§impl<T> From<T> for RetryPolicyArgwhere
T: RetryPolicy + 'static,
impl<T> From<T> for RetryPolicyArgwhere
T: RetryPolicy + 'static,
Auto Trait Implementations§
impl Freeze for RetryPolicyArg
impl !RefUnwindSafe for RetryPolicyArg
impl Send for RetryPolicyArg
impl Sync for RetryPolicyArg
impl Unpin for RetryPolicyArg
impl !UnwindSafe for RetryPolicyArg
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