aboutsummaryrefslogtreecommitdiff
path: root/src/event.rs
blob: 8a7e3b74d050da116ad2c8651a47940529ea0ba0 (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 {
    Command(command::Command),
    Reply(reply::Reply),
    Connected,
    Disconnected
}