summaryrefslogtreecommitdiffstats
path: root/third_party/rust/devd-rs/src/data.rs
blob: 52084362e5377442d2ff9817abbf75214a13985c (plain)
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 },
}