1
2
3
4
5
6
7
8
9
pub use std::collections::BTreeMap;

#[derive(Debug, Clone, PartialEq)]
pub enum Event {
    Notify { system: String, subsystem: String, kind: String, data: BTreeMap<String, String> },
    Attach { dev: String, parent: BTreeMap<String, String>, location: String },
    Detach { dev: String, parent: BTreeMap<String, String>, location: String },
    Nomatch { parent: BTreeMap<String, String>, location: String },
}