Skip to main content

Reporter

Trait Reporter 

Source
pub trait Reporter: Send {
    // Required method
    fn report(&mut self, progress: &Progress);
}
Expand description

Per-tick progress reporter (FR-044).

Implementations receive progress updates from the copy loop. The trait requires Send so the renderer may move the callback onto a worker thread; Sync is intentionally NOT required.

Required Methods§

Source

fn report(&mut self, progress: &Progress)

Report one progress snapshot.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§