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 duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RetryPolicyArg
impl Debug for RetryPolicyArg
Source§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 From<RetryPolicyArg> for Arc<dyn RetryPolicy>
impl From<RetryPolicyArg> for Arc<dyn RetryPolicy>
Source§fn from(value: RetryPolicyArg) -> Arc<dyn RetryPolicy> ⓘ
fn from(value: RetryPolicyArg) -> Arc<dyn RetryPolicy> ⓘ
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 !RefUnwindSafe for RetryPolicyArg
impl !UnwindSafe for RetryPolicyArg
impl Freeze for RetryPolicyArg
impl Send for RetryPolicyArg
impl Sync for RetryPolicyArg
impl Unpin for RetryPolicyArg
impl UnsafeUnpin 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