[][src]Function safe_arch::rdseed_u64

#[must_use]pub fn rdseed_u64(out: &mut u64) -> i32
This is supported with target feature rdseed only.

Try to obtain a random u64 from the hardware RNG.

let mut val = 0_u64;
let it_worked = rdseed_u64(&mut val);