pub fn getrandom(buf: &mut [u8], flags: GetRandomFlags) -> Result<usize>Available on crate feature
rand only.Expand description
getrandom(buf, flags)—Reads a sequence of random bytes.
This is a very low-level API which may be difficult to use correctly. Most
users should prefer to use getrandom or rand APIs instead.