Skip to main content

WpsClient

Trait WpsClient 

Source
pub trait WpsClient: Send + Sync {
    // Required method
    fn send_event(&self, route_id: &str, event: MuxEvent);
}
Expand description

Trait for event delivery to connected clients.

Required Methods§

Source

fn send_event(&self, route_id: &str, event: MuxEvent)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§