Skip to main content

SessionListenerProxyInterface

Trait SessionListenerProxyInterface 

Source
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§

Source

fn on_scenic_error(&self, error: &str) -> Result<(), Error>

Source

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".

Implementors§