pub trait CryptoRng: Rng<Error = Infallible> + TryCryptoRng { }Expand description
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.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".