Trait fbthrift_git::ThriftEnum
source · pub trait ThriftEnum: Sized {
// Required methods
fn enumerate() -> &'static [(Self, &'static str)];
fn variants() -> &'static [&'static str];
fn variant_values() -> &'static [Self];
}
Required Methods§
fn enumerate() -> &'static [(Self, &'static str)]
fn variants() -> &'static [&'static str]
fn variant_values() -> &'static [Self]
Object Safety§
This trait is not object safe.