Trait CryptoRng
pub trait CryptoRng: Rng + TryCryptoRng<Error = Infallible>
A marker trait for securely unpredictable infallible RNGs
This is a convenient trait alias for [TryCryptoRng]<Error = [Infallible]>.
It is equivalent to the trait sum [Rng] + [TryCryptoRng].
Implementors
impl<R> CryptoRng for R where R: TryCryptoRng<Error = Infallible> + ?Sized,impl<R> CryptoRng for UnwrapErr<R> where R: TryCryptoRng<Error = Infallible> + ?Sized,