mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-05 06:00:30 -04:00
Cargo.toml: Update to zbus 5
This commit is contained in:
parent
bdb2d26e2f
commit
a2af4d1bc5
29 changed files with 100 additions and 385 deletions
|
@ -13,8 +13,9 @@ use tokio::fs::File;
|
|||
use tokio::sync::mpsc::Sender;
|
||||
use tokio::sync::oneshot;
|
||||
use tracing::{error, info};
|
||||
use zbus::object_server::SignalEmitter;
|
||||
use zbus::zvariant::{self, Fd};
|
||||
use zbus::{fdo, interface, Connection, SignalContext};
|
||||
use zbus::{fdo, interface, Connection};
|
||||
|
||||
use crate::daemon::root::{Command, RootCommand};
|
||||
use crate::daemon::DaemonCommand;
|
||||
|
@ -310,7 +311,7 @@ impl SteamOSManager {
|
|||
&mut self,
|
||||
mode: u32,
|
||||
options: HashMap<&str, zvariant::Value<'_>>,
|
||||
#[zbus(signal_context)] ctx: SignalContext<'_>,
|
||||
#[zbus(signal_emitter)] ctx: SignalEmitter<'_>,
|
||||
) -> fdo::Result<()> {
|
||||
// Set the wifi debug mode to mode, using an int for flexibility going forward but only
|
||||
// doing things on 0 or 1 for now
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue