Struct taskcluster::Retry[][src]

pub struct Retry {
    pub retries: u32,
    pub max_interval: Duration,
    pub timeout: Duration,
}

Configuration for a client’s automatic retrying

Fields

retries: u32

Number of retries (not counting the first try) for transient errors. Zero to disable retries entirely.

max_interval: Duration

Maximum interval between retries (used in tests to make retries quick)

timeout: Duration

Timeout for each HTTP request

Trait Implementations

impl Clone for Retry[src]

impl Debug for Retry[src]

impl Default for Retry[src]

Auto Trait Implementations

impl RefUnwindSafe for Retry

impl Send for Retry

impl Sync for Retry

impl Unpin for Retry

impl UnwindSafe for Retry

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.