1
2
3
4
5
6
7
8
use event::Event;

#[derive(Clone, Debug, Eq, PartialEq)]
pub struct Notification {
    // The unique identifier for a given socket. File descriptors can be re-used, Ids cannot.
    pub id: usize,
    pub event: Event
}