Skip to main content

Reporter

Trait Reporter 

Source
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§

Source

fn start(&self, uk: &str) -> Result<u64, Box<dyn Error>>

Source

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".

Implementors§