use zbus::{Connection, Result, MessageStream}; use futures_util::stream::TryStreamExt; #[tokio::main] async fn main() -> Result<()> { let connection = Connection::session().await?; connection .request_name("org.freedesktop.Notifications") // Requesting dbus for this service name .await?; // loop {} }