Clean up zbus::fdo into fdo where possible

This commit is contained in:
Vicki Pfau 2024-05-08 14:57:14 -07:00
parent fd500229d6
commit 58223d988b
4 changed files with 59 additions and 60 deletions

View file

@ -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(