Struct zbus::fdo::StatsProxy
source · pub struct StatsProxy<'p>(/* private fields */);
Expand description
Proxy for the org.freedesktop.DBus.Debug.Stats
interface.
Implementations§
source§impl<'p> StatsProxy<'p>
impl<'p> StatsProxy<'p>
sourcepub async fn new(conn: &Connection) -> Result<StatsProxy<'p>>
pub async fn new(conn: &Connection) -> Result<StatsProxy<'p>>
Creates a new proxy with the default service and 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 get_stats(&self) -> Result<Vec<HashMap<String, OwnedValue>>>
pub async fn get_stats(&self) -> Result<Vec<HashMap<String, OwnedValue>>>
GetStats (undocumented)
sourcepub async fn get_connection_stats(
&self,
name: BusName<'_>
) -> Result<Vec<HashMap<String, OwnedValue>>>
pub async fn get_connection_stats( &self, name: BusName<'_> ) -> Result<Vec<HashMap<String, OwnedValue>>>
GetConnectionStats (undocumented)
sourcepub async fn get_all_match_rules(
&self
) -> Result<Vec<HashMap<OwnedUniqueName, Vec<OwnedMatchRule>>>>
pub async fn get_all_match_rules( &self ) -> Result<Vec<HashMap<OwnedUniqueName, Vec<OwnedMatchRule>>>>
GetAllMatchRules (undocumented)
Trait Implementations§
source§impl<'p> AsMut<Proxy<'p>> for StatsProxy<'p>
impl<'p> AsMut<Proxy<'p>> for StatsProxy<'p>
source§impl<'p> AsRef<Proxy<'p>> for StatsProxy<'p>
impl<'p> AsRef<Proxy<'p>> for StatsProxy<'p>
source§impl<'p> Clone for StatsProxy<'p>
impl<'p> Clone for StatsProxy<'p>
source§fn clone(&self) -> StatsProxy<'p>
fn clone(&self) -> StatsProxy<'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 StatsProxy<'p>
impl<'p> Debug for StatsProxy<'p>
source§impl<'p> From<Proxy<'p>> for StatsProxy<'p>
impl<'p> From<Proxy<'p>> for StatsProxy<'p>
source§impl<'a> ProxyDefault for StatsProxy<'a>
impl<'a> ProxyDefault for StatsProxy<'a>
source§impl<'p> ProxyImpl<'p> for StatsProxy<'p>
impl<'p> ProxyImpl<'p> for StatsProxy<'p>
source§impl<'p> Serialize for StatsProxy<'p>
impl<'p> Serialize for StatsProxy<'p>
Auto Trait Implementations§
impl<'p> Freeze for StatsProxy<'p>
impl<'p> !RefUnwindSafe for StatsProxy<'p>
impl<'p> Send for StatsProxy<'p>
impl<'p> Sync for StatsProxy<'p>
impl<'p> Unpin for StatsProxy<'p>
impl<'p> !UnwindSafe for StatsProxy<'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