Module use_
file
getrandom
0.2.15
Module use_
file
Module Items
Structs
Constants
Functions
In crate getrandom
Modules
error
error_impls
imp
lazy
use_file
util
util_libc
Structs
Error
Functions
getrandom
getrandom_uninit
getrandom
Module
use_file
Copy item path
Settings
Help
Summary
Source
Expand description
Implementations that just need to read from a file
Structs
§
Drop
Guard
🔒
Mutex
🔒
Constants
§
FD_
UNINIT
🔒
FILE_
PATH
🔒
For all platforms, we use
/dev/urandom
rather than
/dev/random
. For more information see the linked man pages in lib.rs.
Functions
§
get_
rng_
fd
🔒
getrandom_
inner
wait_
until_
rng_
ready
🔒