Skip to main content

Loggable

Trait Loggable 

Source
pub trait Loggable {
    // Required method
    fn log_description(&self) -> String;
}
Expand description

Input that can describe itself for logging.

Required Methods§

Source

fn log_description(&self) -> String

Return a description of the operation for logging.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§