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

A wrapper around another RNG that reseeds it after it generates a certain number of random bytes.

Structs

ReseedWithDefault

Reseed an RNG using a Default instance. This reseeds by replacing the RNG with the result of a Default::default call.

ReseedingRng

A wrapper around any RNG which reseeds the underlying RNG after it has generated a certain number of random bytes.

Traits

Reseeder

Something that can be used to reseed an RNG via ReseedingRng.