pub trait FromRO {
type Length: ArrayLength<u8>;
// Required method
fn from_ro(okm: &GenericArray<u8, <Self as FromRO>::Length>) -> Self;
}
Expand description
Generate a field element from a random string of bytes
Required Associated Types§
type Length: ArrayLength<u8>
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.
Implementors§
Source§impl<T: BaseFromRO> FromRO for T
impl<T: BaseFromRO> FromRO for T
BaseFromRO is a FromRO impl for a field with extension degree 1.