Skip to main content

StreamingQueryListener

Trait StreamingQueryListener 

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

A client-side listener for streaming-query events. Implement this trait (Rust clients) and register it with StreamingQueryManager::add_listener; the manager runs a background bus that streams events from the server and dispatches them here.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§