pub struct JavaRetryBackoff {
pub max_attempts: u8,
pub initial_backoff_ms: u64,
pub max_backoff_ms: u64,
}Expand description
Retry/backoff defaults for Java clients.
Fields§
§max_attempts: u8Maximum attempts including the original call.
initial_backoff_ms: u64Initial backoff in milliseconds.
max_backoff_ms: u64Maximum backoff in milliseconds.
Trait Implementations§
Source§impl Clone for JavaRetryBackoff
impl Clone for JavaRetryBackoff
Source§fn clone(&self) -> JavaRetryBackoff
fn clone(&self) -> JavaRetryBackoff
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 moreimpl Copy for JavaRetryBackoff
Source§impl Debug for JavaRetryBackoff
impl Debug for JavaRetryBackoff
Source§impl Default for JavaRetryBackoff
impl Default for JavaRetryBackoff
impl Eq for JavaRetryBackoff
Source§impl PartialEq for JavaRetryBackoff
impl PartialEq for JavaRetryBackoff
Source§fn eq(&self, other: &JavaRetryBackoff) -> bool
fn eq(&self, other: &JavaRetryBackoff) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for JavaRetryBackoff
Auto Trait Implementations§
impl Freeze for JavaRetryBackoff
impl RefUnwindSafe for JavaRetryBackoff
impl Send for JavaRetryBackoff
impl Sync for JavaRetryBackoff
impl Unpin for JavaRetryBackoff
impl UnsafeUnpin for JavaRetryBackoff
impl UnwindSafe for JavaRetryBackoff
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