pub trait TypeName { // Required method fn type_name() -> &'static str; }
Returns the type name of the object as a string. (i.e. “u8”)
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".