[][src]Struct rusoto_appmesh::HttpRetryPolicy

pub struct HttpRetryPolicy {
    pub http_retry_events: Option<Vec<String>>,
    pub max_retries: i64,
    pub per_retry_timeout: Duration,
    pub tcp_retry_events: Option<Vec<String>>,
}

An object that represents a retry policy. Specify at least one value for at least one of the types of RetryEvents, a value for maxRetries, and a value for perRetryTimeout.

Fields

http_retry_events: Option<Vec<String>>

Specify at least one of the following values.

     <ul>
<li>
<p>
<b>server-error</b> – HTTP status codes 500, 501,
502, 503, 504, 505, 506, 507, 508, 510, and 511</p>
</li>
<li>
<p>
<b>gateway-error</b> – HTTP status codes 502,
503, and 504</p>
</li>
<li>
<p>
<b>client-error</b> – HTTP status code 409</p>
</li>
<li>
<p>
<b>stream-error</b> – Retry on refused
stream</p>
</li>
</ul>
max_retries: i64

The maximum number of retry attempts.

per_retry_timeout: Duration

An object that represents a duration of time.

tcp_retry_events: Option<Vec<String>>

Specify a valid value.

Trait Implementations

impl Clone for HttpRetryPolicy[src]

impl Debug for HttpRetryPolicy[src]

impl Default for HttpRetryPolicy[src]

impl<'de> Deserialize<'de> for HttpRetryPolicy[src]

impl PartialEq<HttpRetryPolicy> for HttpRetryPolicy[src]

impl Serialize for HttpRetryPolicy[src]

impl StructuralPartialEq for HttpRetryPolicy[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.