pub trait BugSink: Send + Sync {
// Required method
fn report(&self, bug: &Bug);
}Expand description
Where a bug in work nobody waits for goes: a long-lived worker, or work whose caller stopped waiting for it. The program passes its own crash reporter.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".