pub trait Name {
// Required method
fn name(&self) -> &'static str;
}
Available on crate feature
curr
only.Expand description
Name defines types that assign a static name to their value, such as the name given to an identifier in an XDR enum, or the name given to the case in a union.