pub trait Logger {
// Required methods
fn stdout(&self, output: &str) -> Result<()>;
fn stderr(&self, output: &str) -> Result<()>;
}Required Methods§
fn stdout(&self, output: &str) -> Result<()>
fn stderr(&self, output: &str) -> Result<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".