aboutsummaryrefslogtreecommitdiff
path: root/src/gateway/mod.rs
diff options
context:
space:
mode:
authorMishio595 <[email protected]>2018-08-02 10:42:04 -0600
committerMishio595 <[email protected]>2018-08-02 10:42:04 -0600
commita67e5f7c8c53c773a292459a71479045f4b2a444 (patch)
treedec993d6b5610bcca4ba1a64242b08258f8fa163 /src/gateway/mod.rs
parentMerge branch 'upstream' (diff)
parentDon't delay Ready with cache enabled (diff)
downloadserenity-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.rs2
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,