pub fn random_integer(start: u64, end: Option<u64>) -> u64Expand description
Generates a random unsigned integer which is at least start and optionally strictly less than end.
If end is not given, the MAX_RANDOM_INTEGER value is used.
The caller must make sure that 0 <= start < end <= MAX_RANDOM_INTEGER, otherwise the function will panic.