[−][src]Struct rusoto_appmesh::HttpRetryPolicy
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]
pub fn clone(&self) -> HttpRetryPolicy
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for HttpRetryPolicy
[src]
impl Default for HttpRetryPolicy
[src]
pub fn default() -> HttpRetryPolicy
[src]
impl<'de> Deserialize<'de> for HttpRetryPolicy
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<HttpRetryPolicy> for HttpRetryPolicy
[src]
pub fn eq(&self, other: &HttpRetryPolicy) -> bool
[src]
pub fn ne(&self, other: &HttpRetryPolicy) -> bool
[src]
impl Serialize for HttpRetryPolicy
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for HttpRetryPolicy
[src]
Auto Trait Implementations
impl RefUnwindSafe for HttpRetryPolicy
[src]
impl Send for HttpRetryPolicy
[src]
impl Sync for HttpRetryPolicy
[src]
impl Unpin for HttpRetryPolicy
[src]
impl UnwindSafe for HttpRetryPolicy
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,