[−][src]Function safe_arch::rdseed_u32
#[must_use]pub fn rdseed_u32(out: &mut u32) -> i32
This is supported with target feature
rdseed
only.Try to obtain a random u32
from the hardware RNG.
let mut val = 0_u32; let it_worked = rdseed_u32(&mut val);