Struct zbus::fdo::IntrospectableProxy
source · pub struct IntrospectableProxy<'p>(/* private fields */);
Expand description
Proxy for the org.freedesktop.DBus.Introspectable
interface.
Implementations§
source§impl<'p> IntrospectableProxy<'p>
impl<'p> IntrospectableProxy<'p>
sourcepub async fn new<D>(
conn: &Connection,
destination: D
) -> Result<IntrospectableProxy<'p>>
pub async fn new<D>( conn: &Connection, destination: D ) -> Result<IntrospectableProxy<'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 async fn introspect(&self) -> Result<String>
pub async 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 IntrospectableProxy<'p>
impl<'p> AsMut<Proxy<'p>> for IntrospectableProxy<'p>
source§impl<'p> AsRef<Proxy<'p>> for IntrospectableProxy<'p>
impl<'p> AsRef<Proxy<'p>> for IntrospectableProxy<'p>
source§impl<'p> Clone for IntrospectableProxy<'p>
impl<'p> Clone for IntrospectableProxy<'p>
source§fn clone(&self) -> IntrospectableProxy<'p>
fn clone(&self) -> IntrospectableProxy<'p>
Returns a copy 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 IntrospectableProxy<'p>
impl<'p> Debug for IntrospectableProxy<'p>
source§impl<'p> From<Proxy<'p>> for IntrospectableProxy<'p>
impl<'p> From<Proxy<'p>> for IntrospectableProxy<'p>
source§impl<'a> ProxyDefault for IntrospectableProxy<'a>
impl<'a> ProxyDefault for IntrospectableProxy<'a>
source§impl<'p> ProxyImpl<'p> for IntrospectableProxy<'p>
impl<'p> ProxyImpl<'p> for IntrospectableProxy<'p>
source§impl<'p> Serialize for IntrospectableProxy<'p>
impl<'p> Serialize for IntrospectableProxy<'p>
Auto Trait Implementations§
impl<'p> !RefUnwindSafe for IntrospectableProxy<'p>
impl<'p> Send for IntrospectableProxy<'p>
impl<'p> Sync for IntrospectableProxy<'p>
impl<'p> Unpin for IntrospectableProxy<'p>
impl<'p> !UnwindSafe for IntrospectableProxy<'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
source§impl<T> DynamicType for T
impl<T> DynamicType for T
source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more