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