Struct aws_smithy_runtime::client::retries::ClientRateLimiter
source · pub struct ClientRateLimiter { /* private fields */ }
Available on crate feature
client
only.Expand description
Rate limiter for adaptive retry.
Implementations§
source§impl ClientRateLimiter
impl ClientRateLimiter
sourcepub fn new(seconds_since_unix_epoch: f64) -> Self
pub fn new(seconds_since_unix_epoch: f64) -> Self
Creates a new ClientRateLimiter
.
Trait Implementations§
source§impl Clone for ClientRateLimiter
impl Clone for ClientRateLimiter
source§fn clone(&self) -> ClientRateLimiter
fn clone(&self) -> ClientRateLimiter
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 moreAuto Trait Implementations§
impl RefUnwindSafe for ClientRateLimiter
impl Send for ClientRateLimiter
impl Sync for ClientRateLimiter
impl Unpin for ClientRateLimiter
impl UnwindSafe for ClientRateLimiter
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.