Function winter_rand_utils::rand_value [−][src]
pub fn rand_value<R: Randomizable>() -> R
Expand description
Returns a single random value of the specified type.
Panics
Panics if:
- A valid value requires at over 32 bytes.
- A valid value could not be generated after 100 tries.