Function u64

fn u64() -> Result<u64, Error>

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

Examples

# fn main() -> Result<(), getrandom::Error> {
let rng_seed = getrandom::u64()?;
# Ok(()) }