mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-09 16:10:34 -04:00
24 lines
955 B
Rust
24 lines
955 B
Rust
//! # D-Bus interface proxy for: `com.steampowered.SteamOSManager1.FactoryReset1`
|
|
//!
|
|
//! This code was generated by `zbus-xmlgen` `5.0.1` from D-Bus introspection data.
|
|
//! Source: `com.steampowered.SteamOSManager1.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.FactoryReset1",
|
|
default_service = "com.steampowered.SteamOSManager1",
|
|
default_path = "/com/steampowered/SteamOSManager1",
|
|
assume_defaults = true
|
|
)]
|
|
pub trait FactoryReset1 {
|
|
/// PrepareFactoryReset method
|
|
fn prepare_factory_reset(&self, kind: u32) -> zbus::Result<u32>;
|
|
}
|