Skip to main content

Handler

Trait Handler 

Source
pub trait Handler {
    // Required methods
    fn trace(&mut self, message: String);
    fn debug(&mut self, message: String);
    fn info(&mut self, message: String);
    fn warn(&mut self, message: String);
    fn error(&mut self, message: String);
    fn fatal(&mut self, message: String);
}

Required Methods§

Source

fn trace(&mut self, message: String)

Source

fn debug(&mut self, message: String)

Source

fn info(&mut self, message: String)

Source

fn warn(&mut self, message: String)

Source

fn error(&mut self, message: String)

Source

fn fatal(&mut self, message: String)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§