pub trait CommsObserver: Send + Sync {
// Required method
fn on_event(&self, event: &CommsEvent);
}Expand description
Receives push notifications for instrument communication events.
Required Methods§
fn on_event(&self, event: &CommsEvent)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".