don't expose dbus internals, docs

This commit is contained in:
Robin Appelman 2023-06-18 13:27:49 +02:00
commit 22cd9700bb
8 changed files with 72 additions and 29 deletions

View file

@ -24,7 +24,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
pin_mut!(stream);
while let Some(event) = stream.next().await {
println!("{} {}", event.shortcut, event.state.as_str());
println!("{} {}", event.shortcut, event.state);
}
Ok(())
}

View file

@ -13,7 +13,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
pin_mut!(stream);
while let Some(event) = stream.next().await {
println!("{} {}", event.shortcut, event.state.as_str());
println!("{} {}", event.shortcut, event.state);
}
Ok(())
}