Skip to main content

ProgressReporter

Trait ProgressReporter 

Source
pub trait ProgressReporter: Send + Sync {
    // Required method
    fn start_task(&self, message: &str) -> Box<dyn TaskHandle>;
}
Expand description

Trait for reporting progress of long-running operations.

Core defines this trait; CLI implements it with indicatif. Tests use SilentProgress (no-op).

Required Methods§

Source

fn start_task(&self, message: &str) -> Box<dyn TaskHandle>

Implementors§