pub struct FleetRetryPolicy {
pub max_attempts: u32,
pub initial_backoff_seconds: u64,
pub max_backoff_seconds: u64,
pub backoff_multiplier: u32,
}Expand description
Retry policy for a task or worker.
Fields§
§max_attempts: u32§initial_backoff_seconds: u64§max_backoff_seconds: u64§backoff_multiplier: u32Trait Implementations§
Source§impl Clone for FleetRetryPolicy
impl Clone for FleetRetryPolicy
Source§fn clone(&self) -> FleetRetryPolicy
fn clone(&self) -> FleetRetryPolicy
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 FleetRetryPolicy
impl Debug for FleetRetryPolicy
Source§impl Default for FleetRetryPolicy
impl Default for FleetRetryPolicy
Source§impl<'de> Deserialize<'de> for FleetRetryPolicy
impl<'de> Deserialize<'de> for FleetRetryPolicy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FleetRetryPolicy
Source§impl PartialEq for FleetRetryPolicy
impl PartialEq for FleetRetryPolicy
Source§fn eq(&self, other: &FleetRetryPolicy) -> bool
fn eq(&self, other: &FleetRetryPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FleetRetryPolicy
impl Serialize for FleetRetryPolicy
impl StructuralPartialEq for FleetRetryPolicy
Auto Trait Implementations§
impl Freeze for FleetRetryPolicy
impl RefUnwindSafe for FleetRetryPolicy
impl Send for FleetRetryPolicy
impl Sync for FleetRetryPolicy
impl Unpin for FleetRetryPolicy
impl UnsafeUnpin for FleetRetryPolicy
impl UnwindSafe for FleetRetryPolicy
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