pub struct Retries {
pub max: u32,
pub backoff: String,
}Expand description
Fixed-delay retry policy for failed service-task queue attempts.
Fields§
§max: u32Maximum retries after the initial attempt; must be greater than zero.
backoff: StringFixed ISO 8601 delay between failed attempts, such as PT10S.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Retries
impl<'de> Deserialize<'de> for Retries
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
Auto Trait Implementations§
impl Freeze for Retries
impl RefUnwindSafe for Retries
impl Send for Retries
impl Sync for Retries
impl Unpin for Retries
impl UnsafeUnpin for Retries
impl UnwindSafe for Retries
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