Skip to main content

ErrorHandler

Trait ErrorHandler 

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

Required Methods§

Source

fn handle_error(&mut self, message: String)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§