pub trait ProgressSink: Send + Sync {
// Required method
fn emit(&self, event: DiffProgress);
}Expand description
Anything that can receive progress events.
Required Methods§
fn emit(&self, event: DiffProgress)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".