pub struct TimeAdvanceConfig {
pub min_ms: u64,
pub max_ms: u64,
pub probability: f64,
}Expand description
Configuration for time advancement during property tests.
Fields§
§min_ms: u64Minimum time to advance per operation (ms)
max_ms: u64Maximum time to advance per operation (ms)
probability: f64Probability of advancing time (0.0 to 1.0)
Implementations§
Trait Implementations§
Source§impl Clone for TimeAdvanceConfig
impl Clone for TimeAdvanceConfig
Source§fn clone(&self) -> TimeAdvanceConfig
fn clone(&self) -> TimeAdvanceConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimeAdvanceConfig
impl Debug for TimeAdvanceConfig
Auto Trait Implementations§
impl Freeze for TimeAdvanceConfig
impl RefUnwindSafe for TimeAdvanceConfig
impl Send for TimeAdvanceConfig
impl Sync for TimeAdvanceConfig
impl Unpin for TimeAdvanceConfig
impl UnwindSafe for TimeAdvanceConfig
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