Skip to main content

reset_seed

Function reset_seed 

Source
pub fn reset_seed()
Expand description

Resets the thread-local seed to a new generated value.

ยงPanics

  • If SIMULATOR_SEED is set but cannot be parsed as u64
  • If the SEED RwLock fails to write to
  • If the RNG Mutex fails to lock