Enum devd_rs::data::Event
[−]
[src]
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,
},
}Variants
NotifyFields of Notify
system: String | |
subsystem: String | |
kind: String | |
data: BTreeMap<String, String> |
AttachFields of Attach
dev: String | |
parent: BTreeMap<String, String> | |
location: String |
DetachFields of Detach
dev: String | |
parent: BTreeMap<String, String> | |
location: String |
NomatchFields of Nomatch
parent: BTreeMap<String, String> | |
location: String |
Trait Implementations
impl Debug for Event[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Clone for Event[src]
fn clone(&self) -> Event[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more