pub enum WaitType {
Duration(Duration),
Normal {
mean: Duration,
std_dev: f64,
},
Exponential {
lambda: f64,
},
LogNormal {
mean: Duration,
std_dev: f64,
},
Pareto {
scale: f64,
shape: f64,
},
Uniform {
min: Duration,
max: Duration,
},
Triangular {
min: f64,
max: f64,
mode: f64,
},
Gamma {
shape: f64,
scale: f64,
},
Align(Duration),
Until(Duration),
}
Variants§
Duration(Duration)
Normal
Exponential
LogNormal
Pareto
Uniform
Triangular
Gamma
Align(Duration)
Until(Duration)
Auto Trait Implementations§
impl Freeze for WaitType
impl RefUnwindSafe for WaitType
impl Send for WaitType
impl Sync for WaitType
impl Unpin for WaitType
impl UnwindSafe for WaitType
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