pub trait StaticStrUnion: Union {
// Required methods
fn strs() -> Vec<&'static str>
where Self: Sized;
fn as_str(&self) -> &'static str;
fn try_from_str(value: &str) -> Result<Self, Error>
where Self: Sized;
}Expand description
A trait for representing a &'static str union
Don’t implement this trait manually, use the union macro instead