eirc 0.0.0

Event-based/Extensible Internet Relay Chat library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use eventbus::Event;
use super::Side;
use super::line::IrcLine;

pub mod connection;
pub mod line;

pub trait IrcEvent : Event {
  fn get_side(&self) -> Side;
}

pub trait IrcLineEvent : IrcEvent {
  fn get_line(&self) -> &IrcLine;
}