diff options
| author | Mishio595 <[email protected]> | 2018-08-02 10:42:04 -0600 |
|---|---|---|
| committer | Mishio595 <[email protected]> | 2018-08-02 10:42:04 -0600 |
| commit | a67e5f7c8c53c773a292459a71479045f4b2a444 (patch) | |
| tree | dec993d6b5610bcca4ba1a64242b08258f8fa163 /src/gateway/mod.rs | |
| parent | Merge branch 'upstream' (diff) | |
| parent | Don't delay Ready with cache enabled (diff) | |
| download | serenity-debug.tar.xz serenity-debug.zip | |
Merge branch 'debug' of https://github.com/serenity-rs/serenity into debugdebug
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, |