mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-13 09:52:00 -04:00
52 lines
1.7 KiB
Rust
52 lines
1.7 KiB
Rust
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.Manager`
|
|
//!
|
|
//! This code was generated by `zbus-xmlgen` `4.1.0` from D-Bus introspection data.
|
|
//! Source: `com.steampowered.SteamOSManager1.Manager.xml`.
|
|
//!
|
|
//! You may prefer to adapt it, instead of using it verbatim.
|
|
//!
|
|
//! More information can be found in the [Writing a client proxy] section of the zbus
|
|
//! documentation.
|
|
//!
|
|
//!
|
|
//! [Writing a client proxy]: https://dbus2.github.io/zbus/client.html
|
|
//! [D-Bus standard interfaces]: https://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces,
|
|
use zbus::proxy;
|
|
#[proxy(
|
|
interface = "com.steampowered.SteamOSManager1.Manager",
|
|
default_service = "com.steampowered.SteamOSManager1",
|
|
default_path = "/com/steampowered/SteamOSManager1",
|
|
assume_defaults = true
|
|
)]
|
|
trait Manager {
|
|
/// SetWifiDebugMode method
|
|
fn set_wifi_debug_mode(&self, mode: u32, buffer_size: u32) -> zbus::Result<()>;
|
|
|
|
/// TdpLimit property
|
|
#[zbus(property)]
|
|
fn tdp_limit(&self) -> zbus::Result<u32>;
|
|
#[zbus(property)]
|
|
fn set_tdp_limit(&self, value: u32) -> zbus::Result<()>;
|
|
|
|
/// TdpLimitMax property
|
|
#[zbus(property)]
|
|
fn tdp_limit_max(&self) -> zbus::Result<u32>;
|
|
|
|
/// TdpLimitMin property
|
|
#[zbus(property)]
|
|
fn tdp_limit_min(&self) -> zbus::Result<u32>;
|
|
|
|
/// Version property
|
|
#[zbus(property)]
|
|
fn version(&self) -> zbus::Result<u32>;
|
|
|
|
/// WifiBackend property
|
|
#[zbus(property)]
|
|
fn wifi_backend(&self) -> zbus::Result<u32>;
|
|
#[zbus(property)]
|
|
fn set_wifi_backend(&self, value: u32) -> zbus::Result<()>;
|
|
|
|
/// WifiDebugModeState property
|
|
#[zbus(property)]
|
|
fn wifi_debug_mode_state(&self) -> zbus::Result<u32>;
|
|
}
|