Skip to main content

CommsObserver

Trait CommsObserver 

Source
pub trait CommsObserver: Send + Sync {
    // Required method
    fn on_event(&self, event: &CommsEvent);
}
Expand description

Receives push notifications for instrument communication events.

Required Methods§

Source

fn on_event(&self, event: &CommsEvent)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§