Struct sozu_lib::network::retry::ExponentialBackoffPolicy [−][src]
pub struct ExponentialBackoffPolicy { /* fields omitted */ }Methods
impl ExponentialBackoffPolicy[src]
impl ExponentialBackoffPolicyTrait Implementations
impl Debug for ExponentialBackoffPolicy[src]
impl Debug for ExponentialBackoffPolicyfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for ExponentialBackoffPolicy[src]
impl PartialEq for ExponentialBackoffPolicyfn eq(&self, other: &ExponentialBackoffPolicy) -> bool[src]
fn eq(&self, other: &ExponentialBackoffPolicy) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ExponentialBackoffPolicy) -> bool[src]
fn ne(&self, other: &ExponentialBackoffPolicy) -> boolThis method tests for !=.
impl Eq for ExponentialBackoffPolicy[src]
impl Eq for ExponentialBackoffPolicyimpl Clone for ExponentialBackoffPolicy[src]
impl Clone for ExponentialBackoffPolicyfn clone(&self) -> ExponentialBackoffPolicy[src]
fn clone(&self) -> ExponentialBackoffPolicyReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl RetryPolicy for ExponentialBackoffPolicy[src]
impl RetryPolicy for ExponentialBackoffPolicyfn max_tries(&self) -> usize[src]
fn max_tries(&self) -> usizefn current_tries(&self) -> usize[src]
fn current_tries(&self) -> usizefn fail(&mut self)[src]
fn fail(&mut self)fn succeed(&mut self)[src]
fn succeed(&mut self)fn can_try(&self) -> Option<RetryAction>[src]
fn can_try(&self) -> Option<RetryAction>fn is_down(&self) -> bool[src]
fn is_down(&self) -> boolimpl Into<RetryPolicyWrapper> for ExponentialBackoffPolicy[src]
impl Into<RetryPolicyWrapper> for ExponentialBackoffPolicyfn into(self) -> RetryPolicyWrapper[src]
fn into(self) -> RetryPolicyWrapperPerforms the conversion.
Auto Trait Implementations
impl Send for ExponentialBackoffPolicy
impl Send for ExponentialBackoffPolicyimpl Sync for ExponentialBackoffPolicy
impl Sync for ExponentialBackoffPolicy