CrashEvent

Trait CrashEvent 

Source
pub trait CrashEvent: Sync + Send {
    // Required method
    fn on_crash(&self, minidump_path: PathBuf);
}
Expand description

Trait used by the crash handler to notify the implementor that a crash was captured, providing the full path on disk to that minidump.

Required Methods§

Source

fn on_crash(&self, minidump_path: PathBuf)

Implementors§

Source§

impl<F> CrashEvent for F
where F: Fn(PathBuf) + Send + Sync,