aboutsummaryrefslogtreecommitdiff
path: root/src/event.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.rs')
-rw-r--r--src/event.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/event.rs b/src/event.rs
index 3863b49..f9a0422 100644
--- a/src/event.rs
+++ b/src/event.rs
@@ -16,7 +16,9 @@ impl<'a> Event<'a> {
use Event::*;
match self {
&Command(ref c) => Command(c.to_static()),
- _ => unimplemented!()
+ &Reply(ref r) => Reply(r.to_static()),
+ &Connected => Connected,
+ &Disconnected => Disconnected
}
}
}