Trait ThriftEnum
fbthrift_git
pub trait ThriftEnum: Sized { pub fn enumerate() -> &'static [(Self, &'static str)]; pub fn variants() -> &'static [&'static str]; pub fn variant_values() -> &'static [Self]; }
pub fn enumerate() -> &'static [(Self, &'static str)]
pub fn variants() -> &'static [&'static str]
pub fn variant_values() -> &'static [Self]