Trait strict_encoding::StrictSum
source · pub trait StrictSum: StrictType {
const ALL_VARIANTS: &'static [(u8, &'static str)];
fn variant_name(&self) -> &'static str;
fn strict_check_variants() { ... }
fn variant_name_by_tag(tag: u8) -> Option<FieldName> { ... }
fn variant_ord(&self) -> u8 { ... }
}