[−][src]Struct zbus::fdo::ObjectManagerProxy
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]
conn: &'c Connection,
destination: &'c str,
path: &'c str
) -> Result<Self>
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]
&self
) -> Result<HashMap<String, HashMap<String, HashMap<String, OwnedValue>>>>
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,