pub trait ErrorHandler {
// Required method
fn report_error(&mut self, message: String);
}Required Methods§
fn report_error(&mut self, message: String)
Implementations§
Source§impl dyn ErrorHandler
impl dyn ErrorHandler
pub fn report_error(&mut self, message: String)
Trait Implementations§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".