pub trait UniDisplay: Display + Debug + Any + Send + Sync { // Provided method fn type_name(&self) -> &'static str { ... } }
Standard Display trait with Any to allow downcasting.
Display
Any
Returns the concrete type name of the error.