Trait OpenMlsRand
pub trait OpenMlsRand {
type Error: Error + Debug;
// Required methods
fn random_array<const N: usize>(&self) -> Result<[u8; N], Self::Error>;
fn random_vec(&self, len: usize) -> Result<Vec<u8>, Self::Error>;
}Available on 32-bit or 64-bit only.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.