Enum sozu_lib::retry::RetryPolicyWrapper
source · pub enum RetryPolicyWrapper {
ExponentialBackoff(ExponentialBackoffPolicy),
}
Variants§
ExponentialBackoff(ExponentialBackoffPolicy)
Trait Implementations§
source§impl Clone for RetryPolicyWrapper
impl Clone for RetryPolicyWrapper
source§fn clone(&self) -> RetryPolicyWrapper
fn clone(&self) -> RetryPolicyWrapper
Returns a copy 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 RetryPolicyWrapper
impl Debug for RetryPolicyWrapper
source§impl From<ExponentialBackoffPolicy> for RetryPolicyWrapper
impl From<ExponentialBackoffPolicy> for RetryPolicyWrapper
source§fn from(val: ExponentialBackoffPolicy) -> Self
fn from(val: ExponentialBackoffPolicy) -> Self
Converts to this type from the input type.
source§impl PartialEq for RetryPolicyWrapper
impl PartialEq for RetryPolicyWrapper
source§fn eq(&self, other: &RetryPolicyWrapper) -> bool
fn eq(&self, other: &RetryPolicyWrapper) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RetryPolicy for RetryPolicyWrapper
impl RetryPolicy for RetryPolicyWrapper
impl Eq for RetryPolicyWrapper
impl StructuralPartialEq for RetryPolicyWrapper
Auto Trait Implementations§
impl Freeze for RetryPolicyWrapper
impl RefUnwindSafe for RetryPolicyWrapper
impl Send for RetryPolicyWrapper
impl Sync for RetryPolicyWrapper
impl Unpin for RetryPolicyWrapper
impl UnwindSafe for RetryPolicyWrapper
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<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.