aboutsummaryrefslogtreecommitdiff
path: root/src/event.rs
blob: 488ac04f0376b3bad18b6734cd6f722ec30c1875 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
use std::borrow::{ Borrow, ToOwned };

use command;
use reply;

#[derive(Debug, Clone, PartialEq)]
pub enum Event<'a> {
    Command(command::Command<'a>),
    Reply(reply::Reply<'a>),
    Connected,
    Disconnected
}