Make WebsocketEvent send, Sznc, Debug

This commit is contained in:
bitfl0wer 2023-09-05 22:29:04 +02:00
parent 3e86460271
commit 33b99534ca
1 changed files with 2 additions and 1 deletions

View File

@ -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