[][src]Struct zbus::fdo::ObjectManagerProxy

pub struct ObjectManagerProxy<'c>(_);

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

Implementations

impl<'c> ObjectManagerProxy<'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_managed_objects(
    &self
) -> Result<HashMap<String, HashMap<String, HashMap<String, OwnedValue>>>>
[src]

The return value of this method is a dict whose keys are object paths. All returned object paths are children of the object path implementing this interface, i.e. their object paths start with the ObjectManager's object path plus '/'.

Each value is a dict whose keys are interfaces names. Each value in this inner dict is the same dict that would be returned by the org.freedesktop.DBus.Properties.GetAll() method for that combination of object path and interface. If an interface has no properties, the empty dict is returned.

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

Auto Trait Implementations

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

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

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

impl<'c> Unpin for ObjectManagerProxy<'c>

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