Make WebsocketEvent send, Sznc, Debug
This commit is contained in:
parent
f5569973f7
commit
7385dc4be0
|
@ -39,6 +39,7 @@ use serde_json::{from_str, from_value, to_value, Value};
|
||||||
#[cfg(feature = "client")]
|
#[cfg(feature = "client")]
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
|
|
||||||
|
use std::fmt::Debug;
|
||||||
#[cfg(feature = "client")]
|
#[cfg(feature = "client")]
|
||||||
use std::sync::{Arc, RwLock};
|
use std::sync::{Arc, RwLock};
|
||||||
|
|
||||||
|
@ -73,7 +74,7 @@ mod webhooks;
|
||||||
|
|
||||||
mod webrtc;
|
mod webrtc;
|
||||||
|
|
||||||
pub trait WebSocketEvent {}
|
pub trait WebSocketEvent: Send + Sync + Debug {}
|
||||||
|
|
||||||
#[derive(Debug, Default, Serialize, Clone)]
|
#[derive(Debug, Default, Serialize, Clone)]
|
||||||
/// The payload used for sending events to the gateway
|
/// The payload used for sending events to the gateway
|
||||||
|
|
Loading…
Reference in New Issue