pub trait StatusDisplay: TextDisplay {
// Provided method
fn show_environment(
&mut self,
reading: &EnvironmentReading,
) -> Result<(), Self::Error> { ... }
}Provided Methods§
fn show_environment( &mut self, reading: &EnvironmentReading, ) -> Result<(), Self::Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".