pub trait SdkRng:
CryptoRng
+ Send
+ Sync { }Expand description
Marker trait for random number generators usable within the Bitwarden SDK.
Supertrait of [rand::CryptoRng] (hence also [rand::Rng] / [rand::RngExt]) and additionally
requires Send + Sync, so any SdkRng is a drop-in wherever the SDK or third-party crates
expect a cryptographically secure, thread-safe RNG.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".