Skip to main content

ErrorHandler

Trait ErrorHandler 

Source
pub trait ErrorHandler {
    // Required method
    fn report_error(&mut self, message: String);
}

Required Methods§

Source

fn report_error(&mut self, message: String)

Implementations§

Source§

impl dyn ErrorHandler

Source

pub fn report_error(&mut self, message: String)

Trait Implementations§

Source§

impl Debug for dyn ErrorHandler

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§