i3status_rs/blocks/kdeconnect/
connectivity_report.rs1#[zbus::proxy(
2 interface = "org.kde.kdeconnect.device.connectivity_report",
3 default_service = "org.kde.kdeconnect"
4)]
5pub(super) trait ConnectivityDbus {
6 #[zbus(signal, name = "refreshed")]
7 fn refreshed(&self, network_type: String, network_strength: i32) -> zbus::Result<()>;
8
9 #[zbus(property, name = "cellularNetworkStrength")]
10 fn cellular_network_strength(&self) -> zbus::Result<i32>;
11
12 #[zbus(property, name = "cellularNetworkType")]
13 fn cellular_network_type(&self) -> zbus::Result<String>;
14}