pub struct IntrospectableProxy<'p>(/* private fields */);
Expand description
Proxy for the org.freedesktop.DBus.Introspectable
interface.
Implementations§
Source§impl<'p> IntrospectableProxyBlocking<'p>
impl<'p> IntrospectableProxyBlocking<'p>
Sourcepub fn new<D>(
conn: &Connection,
destination: D,
) -> Result<IntrospectableProxyBlocking<'p>>
pub fn new<D>( conn: &Connection, destination: D, ) -> Result<IntrospectableProxyBlocking<'p>>
Creates a new proxy with the given destination, and the default path.
Sourcepub fn builder(conn: &Connection) -> Builder<'p, Self>
pub fn builder(conn: &Connection) -> Builder<'p, Self>
Returns a customizable builder for this proxy.
Sourcepub fn into_inner(self) -> Proxy<'p>
pub fn into_inner(self) -> Proxy<'p>
Consumes self
, returning the underlying zbus::Proxy
.
Sourcepub fn inner_mut(&mut self) -> &mut Proxy<'p>
pub fn inner_mut(&mut self) -> &mut Proxy<'p>
The mutable reference to the underlying zbus::Proxy
.
Sourcepub fn introspect(&self) -> Result<String>
pub fn introspect(&self) -> Result<String>
Returns an XML description of the object, including its interfaces (with signals and methods), objects below it in the object path tree, and its properties.
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for IntrospectableProxyBlocking<'p>
impl<'p> AsMut<Proxy<'p>> for IntrospectableProxyBlocking<'p>
Source§impl<'p> AsRef<Proxy<'p>> for IntrospectableProxyBlocking<'p>
impl<'p> AsRef<Proxy<'p>> for IntrospectableProxyBlocking<'p>
Source§impl<'p> Clone for IntrospectableProxyBlocking<'p>
impl<'p> Clone for IntrospectableProxyBlocking<'p>
Source§fn clone(&self) -> IntrospectableProxyBlocking<'p>
fn clone(&self) -> IntrospectableProxyBlocking<'p>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'p> Debug for IntrospectableProxyBlocking<'p>
impl<'p> Debug for IntrospectableProxyBlocking<'p>
Source§impl<'a> Defaults for IntrospectableProxyBlocking<'a>
impl<'a> Defaults for IntrospectableProxyBlocking<'a>
const INTERFACE: &'static Option<InterfaceName<'static>>
const DESTINATION: &'static Option<BusName<'static>>
const PATH: &'static Option<ObjectPath<'static>>
Source§impl<'p> From<Proxy<'p>> for IntrospectableProxyBlocking<'p>
impl<'p> From<Proxy<'p>> for IntrospectableProxyBlocking<'p>
Source§impl<'p> ProxyImpl<'p> for IntrospectableProxyBlocking<'p>
impl<'p> ProxyImpl<'p> for IntrospectableProxyBlocking<'p>
Source§impl<'p> Serialize for IntrospectableProxyBlocking<'p>
impl<'p> Serialize for IntrospectableProxyBlocking<'p>
Auto Trait Implementations§
impl<'p> Freeze for IntrospectableProxyBlocking<'p>
impl<'p> !RefUnwindSafe for IntrospectableProxyBlocking<'p>
impl<'p> Send for IntrospectableProxyBlocking<'p>
impl<'p> Sync for IntrospectableProxyBlocking<'p>
impl<'p> Unpin for IntrospectableProxyBlocking<'p>
impl<'p> !UnwindSafe for IntrospectableProxyBlocking<'p>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more