pub trait EntropySource: Send + Sync {
// Required method
fn fill(&self, destination: &mut [u8]) -> Result<(), Error>;
}Expand description
Injectable entropy source used only to make deterministic tests possible.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".