pub fn random<T>(_: AmbientAuthority) -> T where
Standard: Distribution<T>,
Expand description
Generates a random value using the thread-local random number generator.
This corresponds to rand::random
.
Ambient Authority
This function makes use of ambient authority to access the platform entropy source.