Skip to content

Commit

Permalink
Make WebsocketEvent send, Sznc, Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
bitfl0wer committed Sep 5, 2023
1 parent f556997 commit 7385dc4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/types/events/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ use serde_json::{from_str, from_value, to_value, Value};
#[cfg(feature = "client")]
use std::collections::HashMap;

use std::fmt::Debug;
#[cfg(feature = "client")]
use std::sync::{Arc, RwLock};

Expand Down Expand Up @@ -73,7 +74,7 @@ mod webhooks;

mod webrtc;

pub trait WebSocketEvent {}
pub trait WebSocketEvent: Send + Sync + Debug {}

#[derive(Debug, Default, Serialize, Clone)]
/// The payload used for sending events to the gateway
Expand Down

0 comments on commit 7385dc4

Please sign in to comment.