pub trait BaseFromRO {
type BaseLength: ArrayLength<u8>;
// Required method
fn from_okm(
okm: &GenericArray<u8, <Self as BaseFromRO>::BaseLength>,
) -> Self;
}
Expand description
Generate an element of a base field for a random string of bytes (used by FromRO for extension fields).
Required Associated Types§
type BaseLength: ArrayLength<u8>
Required Methods§
fn from_okm(okm: &GenericArray<u8, <Self as BaseFromRO>::BaseLength>) -> Self
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.