pub fn getrandom_nonblock(dest: &mut [u8]) -> Result
Expand description

Fills a byte slice with random bytes generated from the kernel’s CSPRNG.

If the CSPRNG is not yet seeded, returns an Err(EAGAIN) immediately.

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.