pub struct DestinationRetryBuilder { /* private fields */ }Expand description
Builder for DestinationRetry.
Implementations§
Source§impl DestinationRetryBuilder
impl DestinationRetryBuilder
pub fn max_attempts(&mut self, value: u64) -> &mut Self
pub fn interval_ms(&mut self, value: u64) -> &mut Self
pub fn backoff_type(&mut self, value: DestinationRetryBackoffType) -> &mut Self
pub fn max_interval(&mut self, value: Option<u64>) -> &mut Self
Sourcepub fn build(&self) -> Result<DestinationRetry, DestinationRetryBuilderError>
pub fn build(&self) -> Result<DestinationRetry, DestinationRetryBuilderError>
Trait Implementations§
Source§impl Clone for DestinationRetryBuilder
impl Clone for DestinationRetryBuilder
Source§fn clone(&self) -> DestinationRetryBuilder
fn clone(&self) -> DestinationRetryBuilder
Returns a duplicate 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 Freeze for DestinationRetryBuilder
impl RefUnwindSafe for DestinationRetryBuilder
impl Send for DestinationRetryBuilder
impl Sync for DestinationRetryBuilder
impl Unpin for DestinationRetryBuilder
impl UnwindSafe for DestinationRetryBuilder
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