pub trait SocketIOAdapter: Send + Sync {
// Required methods
fn incoming(&self, room_id: &str, message: &SocketIOMessage);
fn outgoing(&self, room_id: &str, message: &SocketIOMessage);
}Required Methods§
fn incoming(&self, room_id: &str, message: &SocketIOMessage)
fn outgoing(&self, room_id: &str, message: &SocketIOMessage)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".