Trait lifxi::http::Retry

source ·
pub trait Retry {
    fn retry(&mut self) -> &mut Self;
    fn retries(&mut self, n: NonZeroU8) -> &mut Self;
}
Expand description

Trait enabling retrying of failed requests.

Required Methods

Retries the corresponding request once.

Retries the corresponding request the given number of times.

Implementors