pub trait VoidObserver: Send + Sync {
// Required method
fn on_event(&self, event: &VoidEvent);
}Expand description
Observer trait for receiving void events.
Implement this trait to receive events from void-core operations.
The observer must be thread-safe (Send + Sync) as it may be called
from multiple threads during parallel operations.