str_enum

Function str_enum 

Source
pub fn str_enum<E: TryFrom<i32> + ToString>(e: i32) -> String