pub fn generate<T: RandomlyConstructable>( rng: &dyn SecureRandom, ) -> Result<Random<T>, Unspecified>
Generate the new random value using rng.
rng
error::Unspecified if unable to fill buffer.
error::Unspecified