Module rand::read [-] [+] [src]

A wrapper around any Read to treat it as an RNG.

Structs

ReadRng

An RNG that reads random bytes straight from a Read. This will work best with an infinite reader, but this is not required.