Skip to main content

ProgressReporter

Trait ProgressReporter 

Source
pub trait ProgressReporter {
    // Required method
    fn report_progress(&self, progress: &GenerationProgress);
}
Expand description

Trait for components that can report progress.

Required Methods§

Source

fn report_progress(&self, progress: &GenerationProgress)

Report current progress.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§