Struct tiny_tokio_actor::supervision::NoIntervalStrategy
source · pub struct NoIntervalStrategy { /* private fields */ }
Expand description
A Retry strategy that immediately retries an actor that failed to start
Implementations§
Trait Implementations§
source§impl Debug for NoIntervalStrategy
impl Debug for NoIntervalStrategy
source§impl Default for NoIntervalStrategy
impl Default for NoIntervalStrategy
source§fn default() -> NoIntervalStrategy
fn default() -> NoIntervalStrategy
Returns the “default value” for a type. Read more
source§impl RetryStrategy for NoIntervalStrategy
impl RetryStrategy for NoIntervalStrategy
source§fn max_retries(&self) -> usize
fn max_retries(&self) -> usize
Maximum number of tries before permanently failing an actor
source§fn next_backoff(&mut self) -> Option<Duration>
fn next_backoff(&mut self) -> Option<Duration>
Wait duration before retrying
Auto Trait Implementations§
impl RefUnwindSafe for NoIntervalStrategy
impl Send for NoIntervalStrategy
impl Sync for NoIntervalStrategy
impl Unpin for NoIntervalStrategy
impl UnwindSafe for NoIntervalStrategy
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