pub trait Reporter {
// Required methods
fn start(&self, uk: &str) -> Result<u64, Box<dyn Error>>;
fn finish(&self, uk: &str, msg: &str) -> Result<(), Box<dyn Error>>;
}Required Methods§
fn start(&self, uk: &str) -> Result<u64, Box<dyn Error>>
fn finish(&self, uk: &str, msg: &str) -> Result<(), Box<dyn Error>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".