pub enum RetryPolicyOnMaxAttempts {
Pause,
Kill,
}
Expand description
Retry policy behavior on max attempts.
JSON schema
{
"title": "RetryPolicyOnMaxAttempts",
"description": "Retry policy behavior on max attempts.",
"enum": [
"PAUSE",
"KILL"
]
}
Variants§
Trait Implementations§
Source§impl Clone for RetryPolicyOnMaxAttempts
impl Clone for RetryPolicyOnMaxAttempts
Source§fn clone(&self) -> RetryPolicyOnMaxAttempts
fn clone(&self) -> RetryPolicyOnMaxAttempts
Returns a duplicate of the value. Read more
1.0.0 · 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 RetryPolicyOnMaxAttempts
impl Debug for RetryPolicyOnMaxAttempts
Source§impl<'de> Deserialize<'de> for RetryPolicyOnMaxAttempts
impl<'de> Deserialize<'de> for RetryPolicyOnMaxAttempts
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
Source§impl From<&RetryPolicyOnMaxAttempts> for RetryPolicyOnMaxAttempts
impl From<&RetryPolicyOnMaxAttempts> for RetryPolicyOnMaxAttempts
Source§fn from(value: &RetryPolicyOnMaxAttempts) -> Self
fn from(value: &RetryPolicyOnMaxAttempts) -> Self
Converts to this type from the input type.
Source§impl FromStr for RetryPolicyOnMaxAttempts
impl FromStr for RetryPolicyOnMaxAttempts
Source§impl Hash for RetryPolicyOnMaxAttempts
impl Hash for RetryPolicyOnMaxAttempts
Source§impl Ord for RetryPolicyOnMaxAttempts
impl Ord for RetryPolicyOnMaxAttempts
Source§fn cmp(&self, other: &RetryPolicyOnMaxAttempts) -> Ordering
fn cmp(&self, other: &RetryPolicyOnMaxAttempts) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RetryPolicyOnMaxAttempts
impl PartialEq for RetryPolicyOnMaxAttempts
Source§impl PartialOrd for RetryPolicyOnMaxAttempts
impl PartialOrd for RetryPolicyOnMaxAttempts
Source§impl Serialize for RetryPolicyOnMaxAttempts
impl Serialize for RetryPolicyOnMaxAttempts
Source§impl ToString for RetryPolicyOnMaxAttempts
impl ToString for RetryPolicyOnMaxAttempts
Source§impl TryFrom<&String> for RetryPolicyOnMaxAttempts
impl TryFrom<&String> for RetryPolicyOnMaxAttempts
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for RetryPolicyOnMaxAttempts
impl TryFrom<&str> for RetryPolicyOnMaxAttempts
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for RetryPolicyOnMaxAttempts
impl TryFrom<String> for RetryPolicyOnMaxAttempts
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for RetryPolicyOnMaxAttempts
impl Eq for RetryPolicyOnMaxAttempts
impl StructuralPartialEq for RetryPolicyOnMaxAttempts
Auto Trait Implementations§
impl Freeze for RetryPolicyOnMaxAttempts
impl RefUnwindSafe for RetryPolicyOnMaxAttempts
impl Send for RetryPolicyOnMaxAttempts
impl Sync for RetryPolicyOnMaxAttempts
impl Unpin for RetryPolicyOnMaxAttempts
impl UnwindSafe for RetryPolicyOnMaxAttempts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more