Skip to main content

SyncObserver

Trait SyncObserver 

Source
pub trait SyncObserver: Send + Sync {
    // Required method
    fn event(&self, name: &'static str, detail: &str);
}
Expand description

Free-form diagnostics hook (no logging dependency baked in).

Required Methods§

Source

fn event(&self, name: &'static str, detail: &str)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§