Skip to main content

BugSink

Trait BugSink 

Source
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§

Source

fn report(&self, bug: &Bug)

Report bug, which no caller hears of otherwise.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl BugSink for HeardBugs

Available on crate features in-memory-keychain only.
Source§

impl BugSink for LoggedBugs