pub trait SessionListenerProxyInterface: Send + Sync {
// Required methods
fn on_scenic_error(&self, error: &str) -> Result<(), Error>;
fn on_scenic_event(&self, events: Vec<Event>) -> Result<(), Error>;
}Required Methods§
fn on_scenic_error(&self, error: &str) -> Result<(), Error>
fn on_scenic_event(&self, events: Vec<Event>) -> Result<(), Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".