diff --git a/zbus/src/blocking/proxy/mod.rs b/zbus/src/blocking/proxy/mod.rs index cf9fb9bc8..25a1d2906 100644 --- a/zbus/src/blocking/proxy/mod.rs +++ b/zbus/src/blocking/proxy/mod.rs @@ -8,7 +8,11 @@ use zbus_names::{BusName, InterfaceName, MemberName, UniqueName}; use zvariant::{ObjectPath, OwnedValue, Value}; use crate::{ - blocking::Connection, message::Message, proxy::MethodFlags, utils::block_on, Error, Result, + blocking::Connection, + message::Message, + proxy::{MethodFlags, ProxyDefault}, + utils::block_on, + Error, Result, }; use crate::fdo; @@ -355,6 +359,12 @@ impl<'a> Proxy<'a> { } } +impl ProxyDefault for Proxy<'_> { + const INTERFACE: Option<&'static str> = None; + const DESTINATION: Option<&'static str> = None; + const PATH: Option<&'static str> = None; +} + impl<'a> std::convert::AsRef> for Proxy<'a> { fn as_ref(&self) -> &Proxy<'a> { self