1 2 3 4 5 6 7 8 9
use async_trait::async_trait; use zbus::Connection; #[async_trait] pub trait ActiveTransport { type Output; async fn current(conn: &Connection) -> Option<Self::Output>; }