i3status_rs/blocks/kdeconnect/
connectivity_report.rs

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

    #[zbus(property, name = "cellularNetworkStrength")]
    fn cellular_network_strength(&self) -> zbus::Result<i32>;

    #[zbus(property, name = "cellularNetworkType")]
    fn cellular_network_type(&self) -> zbus::Result<String>;
}