pub struct ObjectManagerProxy<'p>(/* private fields */);Expand description
Proxy interface for org.freedesktop.DBus.ObjectManager.
Implementations§
Source§impl<'p> ObjectManagerProxy<'p>
impl<'p> ObjectManagerProxy<'p>
Sourcepub async fn new(conn: &Connection) -> Result<ObjectManagerProxy<'p>>
pub async fn new(conn: &Connection) -> Result<ObjectManagerProxy<'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 async fn get_managed_objects(&self) -> Result<ManagedObjectsMap>
pub async fn get_managed_objects(&self) -> Result<ManagedObjectsMap>
Retrieves all managed objects under /org/gnome/OnlineAccounts.
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for ObjectManagerProxy<'p>
impl<'p> AsMut<Proxy<'p>> for ObjectManagerProxy<'p>
Source§impl<'p> AsRef<Proxy<'p>> for ObjectManagerProxy<'p>
impl<'p> AsRef<Proxy<'p>> for ObjectManagerProxy<'p>
Source§impl<'p> Clone for ObjectManagerProxy<'p>
impl<'p> Clone for ObjectManagerProxy<'p>
Source§impl<'p> Debug for ObjectManagerProxy<'p>
impl<'p> Debug for ObjectManagerProxy<'p>
Source§impl<'a> Defaults for ObjectManagerProxy<'a>
impl<'a> Defaults for ObjectManagerProxy<'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 ObjectManagerProxy<'p>
impl<'p> From<Proxy<'p>> for ObjectManagerProxy<'p>
Source§impl<'p> ProxyImpl<'p> for ObjectManagerProxy<'p>
impl<'p> ProxyImpl<'p> for ObjectManagerProxy<'p>
Source§impl<'p> Serialize for ObjectManagerProxy<'p>
impl<'p> Serialize for ObjectManagerProxy<'p>
Auto Trait Implementations§
impl<'p> !RefUnwindSafe for ObjectManagerProxy<'p>
impl<'p> !UnwindSafe for ObjectManagerProxy<'p>
impl<'p> Freeze for ObjectManagerProxy<'p>
impl<'p> Send for ObjectManagerProxy<'p>
impl<'p> Sync for ObjectManagerProxy<'p>
impl<'p> Unpin for ObjectManagerProxy<'p>
impl<'p> UnsafeUnpin for ObjectManagerProxy<'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