mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-16 11:16:45 -04:00
Clean up zbus::fdo into fdo where possible
This commit is contained in:
parent
fd500229d6
commit
58223d988b
4 changed files with 59 additions and 60 deletions
|
@ -119,6 +119,7 @@ mod test {
|
|||
use nix::unistd;
|
||||
use tokio::fs::{create_dir_all, read_to_string, write};
|
||||
use tokio::sync::mpsc::{error, unbounded_channel, UnboundedSender};
|
||||
use zbus::fdo;
|
||||
|
||||
struct MockTrace {
|
||||
traces: UnboundedSender<(String, HashMap<String, zvariant::OwnedValue>)>,
|
||||
|
@ -130,7 +131,7 @@ mod test {
|
|||
&mut self,
|
||||
trace: &str,
|
||||
data: HashMap<&str, zvariant::Value<'_>>,
|
||||
) -> zbus::fdo::Result<()> {
|
||||
) -> fdo::Result<()> {
|
||||
let _ = self.traces.send((
|
||||
String::from(trace),
|
||||
HashMap::from_iter(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue