pub trait IsSborFixedEnumVariant<F> {
const DISCRIMINATOR: u8;
// Required methods
fn new(fields: F) -> Self;
fn into_fields(self) -> F;
}
Required Associated Constants§
const DISCRIMINATOR: u8
Required Methods§
fn new(fields: F) -> Self
fn into_fields(self) -> F
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.