pub enum RandomMode {
Tlc,
Dive,
}Expand description
Which seeding a run uses.
Variants§
Tlc
TLC’s seeding with java.util.Random, bit-exact (--compat=tlc). Requires
TLC’s own state fingerprints for state-level draws.
Dive
dive’s seeding: every stream is a pure function of the seed, a stream key (the state’s fingerprint, or a simulation trace number) and the call index, so a run replays at any worker count. Any 64-bit state fingerprint works.
Trait Implementations§
Source§impl Clone for RandomMode
impl Clone for RandomMode
impl Copy for RandomMode
Source§impl Debug for RandomMode
impl Debug for RandomMode
impl Eq for RandomMode
Source§impl Hash for RandomMode
impl Hash for RandomMode
Source§impl PartialEq for RandomMode
impl PartialEq for RandomMode
impl StructuralPartialEq for RandomMode
Auto Trait Implementations§
impl Forget for RandomMode
impl Freeze for RandomMode
impl Move for RandomMode
impl RefUnwindSafe for RandomMode
impl Send for RandomMode
impl Sync for RandomMode
impl Unpin for RandomMode
impl UnsafeUnpin for RandomMode
impl UnwindSafe for RandomMode
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