TrackableOperation

Trait TrackableOperation 

Source
pub trait TrackableOperation {
    // Required method
    fn execute_with_progress(&self, tracker: &ProgressTracker) -> Result<()>;
}
Expand description

Helper trait for operations that can be tracked

Required Methods§

Source

fn execute_with_progress(&self, tracker: &ProgressTracker) -> Result<()>

Execute the operation with progress tracking

§Errors

Returns an error if the operation fails

Implementors§