devd_rs/
data.rs

1pub use std::collections::BTreeMap;
2
3#[derive(Debug, Clone, PartialEq)]
4pub enum Event {
5    Notify { system: String, subsystem: String, kind: String, data: BTreeMap<String, String> },
6    Attach { dev: String, parent: BTreeMap<String, String>, location: String },
7    Detach { dev: String, parent: BTreeMap<String, String>, location: String },
8    Nomatch { parent: BTreeMap<String, String>, location: String },
9}