pub trait HumanReadable {
// Required method
fn human_readable(&self) -> String;
}Expand description
Trait for types that can format themselves for human-readable output
Required Methods§
Sourcefn human_readable(&self) -> String
fn human_readable(&self) -> String
Return a human-readable string representation
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".