[][src]Struct zbus::fdo::StatsProxy

pub struct StatsProxy<'c>(_);

Proxy for the org.freedesktop.DBus.Stats interface.

Implementations

impl<'c> StatsProxy<'c>[src]

pub fn new(conn: &'c Connection) -> Result<Self>[src]

Creates a new proxy with the default service & path.

pub fn new_for(
    conn: &'c Connection,
    destination: &'c str,
    path: &'c str
) -> Result<Self>
[src]

Creates a new proxy for the given destination and path.

pub fn get_stats(&self) -> Result<Vec<HashMap<String, OwnedValue>>>[src]

GetStats (undocumented)

pub fn get_connection_stats(
    &self,
    n1: &str
) -> Result<Vec<HashMap<String, OwnedValue>>>
[src]

GetConnectionStats (undocumented)

pub fn get_all_match_rules(&self) -> Result<Vec<HashMap<String, Vec<String>>>>[src]

GetAllMatchRules (undocumented)

pub fn introspect(&self) -> Result<String>[src]

Auto Trait Implementations

impl<'c> !RefUnwindSafe for StatsProxy<'c>

impl<'c> !Send for StatsProxy<'c>

impl<'c> !Sync for StatsProxy<'c>

impl<'c> Unpin for StatsProxy<'c>

impl<'c> !UnwindSafe for StatsProxy<'c>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.