getrandom

Function u64

Source
pub fn u64() -> Result<u64, Error>
Expand description

Get random u64 from the system’s preferred random number source.

§Examples

let rng_seed = getrandom::u64()?;