pub struct StatsProxy<'p>(/* private fields */);Expand description
Proxy for the org.freedesktop.DBus.Debug.Stats interface.
Implementations§
Source§impl<'p> StatsProxyBlocking<'p>
impl<'p> StatsProxyBlocking<'p>
Sourcepub fn new(conn: &Connection) -> Result<StatsProxyBlocking<'p>>
pub fn new(conn: &Connection) -> Result<StatsProxyBlocking<'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 fn get_connection_stats(
&self,
name: BusName<'_>,
) -> Result<Vec<HashMap<String, OwnedValue>>>
pub fn get_connection_stats( &self, name: BusName<'_>, ) -> Result<Vec<HashMap<String, OwnedValue>>>
GetConnectionStats (undocumented)
Sourcepub fn get_all_match_rules(
&self,
) -> Result<Vec<HashMap<OwnedUniqueName, Vec<OwnedMatchRule>>>>
pub fn get_all_match_rules( &self, ) -> Result<Vec<HashMap<OwnedUniqueName, Vec<OwnedMatchRule>>>>
GetAllMatchRules (undocumented)
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for StatsProxyBlocking<'p>
impl<'p> AsMut<Proxy<'p>> for StatsProxyBlocking<'p>
Source§impl<'p> AsRef<Proxy<'p>> for StatsProxyBlocking<'p>
impl<'p> AsRef<Proxy<'p>> for StatsProxyBlocking<'p>
Source§impl<'p> Clone for StatsProxyBlocking<'p>
impl<'p> Clone for StatsProxyBlocking<'p>
Source§fn clone(&self) -> StatsProxyBlocking<'p>
fn clone(&self) -> StatsProxyBlocking<'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 StatsProxyBlocking<'p>
impl<'p> Debug for StatsProxyBlocking<'p>
Source§impl<'a> Defaults for StatsProxyBlocking<'a>
impl<'a> Defaults for StatsProxyBlocking<'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 StatsProxyBlocking<'p>
impl<'p> From<Proxy<'p>> for StatsProxyBlocking<'p>
Source§impl<'p> ProxyImpl<'p> for StatsProxyBlocking<'p>
impl<'p> ProxyImpl<'p> for StatsProxyBlocking<'p>
Source§impl<'p> Serialize for StatsProxyBlocking<'p>
impl<'p> Serialize for StatsProxyBlocking<'p>
Auto Trait Implementations§
impl<'p> Freeze for StatsProxyBlocking<'p>
impl<'p> !RefUnwindSafe for StatsProxyBlocking<'p>
impl<'p> Send for StatsProxyBlocking<'p>
impl<'p> Sync for StatsProxyBlocking<'p>
impl<'p> Unpin for StatsProxyBlocking<'p>
impl<'p> !UnwindSafe for StatsProxyBlocking<'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