pub struct TimeRandomState {
pub time_offset: Option<i64>,
pub random_state: Option<ChaCha8Rng>,
}Expand description
Time offset and deterministic random state.
Fields§
§time_offset: Option<i64>Clock offset for time virtualization.
random_state: Option<ChaCha8Rng>Deterministic PRNG state (seeded from policy).
Implementations§
Auto Trait Implementations§
impl Freeze for TimeRandomState
impl RefUnwindSafe for TimeRandomState
impl Send for TimeRandomState
impl Sync for TimeRandomState
impl Unpin for TimeRandomState
impl UnsafeUnpin for TimeRandomState
impl UnwindSafe for TimeRandomState
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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