Skip to main content

get16

Function get16 

Source
pub fn get16() -> Option<u16>
Expand description

Attempts to get a 16-bit seed from the hardware.

§Returns

Some(u16) if successful. None if the hardware was busy or operation is not supported.

§See also

  1. is_available - checks if hardware supports RDSEED instruction.
  2. get64 - get 64-bit seed from the hardware.
  3. get32 - get 32-bit seed from the hardware.