pub struct ContantTimeFactory {
pub backoff: Duration,
}Fields§
§backoff: DurationTrait Implementations§
source§impl StrategyFactory for ContantTimeFactory
impl StrategyFactory for ContantTimeFactory
type Strategy = ConstantTimeBackoff
fn create_strategy(&self) -> Self::Strategy
Auto Trait Implementations§
impl Freeze for ContantTimeFactory
impl RefUnwindSafe for ContantTimeFactory
impl Send for ContantTimeFactory
impl Sync for ContantTimeFactory
impl Unpin for ContantTimeFactory
impl UnwindSafe for ContantTimeFactory
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