diff options
Diffstat (limited to 'src/gateway/mod.rs')
| -rw-r--r-- | src/gateway/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gateway/mod.rs b/src/gateway/mod.rs index ffacba7..f20d7cd 100644 --- a/src/gateway/mod.rs +++ b/src/gateway/mod.rs @@ -185,6 +185,7 @@ pub enum InterMessage { Json(Value), } +#[derive(Clone, Debug)] pub enum ShardAction { Heartbeat, Identify, @@ -192,6 +193,7 @@ pub enum ShardAction { } /// The type of reconnection that should be performed. +#[derive(Clone, Debug)] pub enum ReconnectType { /// Indicator that a new connection should be made by sending an IDENTIFY. Reidentify, |