[][src]Struct zbus::fdo::MonitoringProxy

pub struct MonitoringProxy<'c>(_);

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

Implementations

impl<'c> MonitoringProxy<'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 become_monitor(&self, n1: &[&str], n2: u32) -> Result<()>[src]

Converts the connection into a monitor connection which can be used as a debugging/monitoring tool.

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

Auto Trait Implementations

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

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

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

impl<'c> Unpin for MonitoringProxy<'c>

impl<'c> !UnwindSafe for MonitoringProxy<'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.