1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-09-18 12:46:58 +02:00
ironbar/src/clients/networkmanager/event.rs

19 lines
373 B
Rust
Raw Normal View History

use crate::clients::networkmanager::dbus::{DeviceState, DeviceType};
#[derive(Debug, Clone)]
pub enum ClientToModuleEvent {
DeviceStateChanged {
interface: String,
r#type: DeviceType,
state: DeviceState,
},
DeviceRemoved {
interface: String,
},
}
#[derive(Debug, Clone)]
pub enum ModuleToClientEvent {
NewController,
}