pub trait StateReporter: Send + Sync {
// Provided methods
fn begin(&self) { ... }
fn action(&self, s: &str) { ... }
fn progress(&self, percent: Option<u8>) { ... }
fn end(&self, msg: Option<String>) { ... }
}Expand description
Interface used to implement objects that are reponsible for sending process reports.
Provided Methods§
Sourcefn action(&self, s: &str)
fn action(&self, s: &str)
Called when ProcCtx::action() has been called to set a current
action.