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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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