pub struct AgentManagerProxy<'p>(/* private fields */);Implementations§
Source§impl<'p> AgentManagerProxy<'p>
impl<'p> AgentManagerProxy<'p>
Sourcepub async fn new<P>(conn: &Connection, path: P) -> Result<AgentManagerProxy<'p>>
pub async fn new<P>(conn: &Connection, path: P) -> Result<AgentManagerProxy<'p>>
Creates a new proxy with the given path, and the default destination.
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.
pub async fn register_agent( &self, path: &OwnedObjectPath, capability: String, ) -> Result<()>
pub async fn unregister_agent(&self, path: &OwnedObjectPath) -> Result<()>
pub async fn request_default_agent(&self, path: &OwnedObjectPath) -> Result<()>
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for AgentManagerProxy<'p>
impl<'p> AsMut<Proxy<'p>> for AgentManagerProxy<'p>
Source§impl<'p> AsRef<Proxy<'p>> for AgentManagerProxy<'p>
impl<'p> AsRef<Proxy<'p>> for AgentManagerProxy<'p>
Source§impl<'p> Clone for AgentManagerProxy<'p>
impl<'p> Clone for AgentManagerProxy<'p>
Source§fn clone(&self) -> AgentManagerProxy<'p>
fn clone(&self) -> AgentManagerProxy<'p>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'p> Debug for AgentManagerProxy<'p>
impl<'p> Debug for AgentManagerProxy<'p>
Source§impl<'a> Defaults for AgentManagerProxy<'a>
impl<'a> Defaults for AgentManagerProxy<'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 AgentManagerProxy<'p>
impl<'p> From<Proxy<'p>> for AgentManagerProxy<'p>
Source§impl<'p> ProxyImpl<'p> for AgentManagerProxy<'p>
impl<'p> ProxyImpl<'p> for AgentManagerProxy<'p>
Source§impl<'p> Serialize for AgentManagerProxy<'p>
impl<'p> Serialize for AgentManagerProxy<'p>
Auto Trait Implementations§
impl<'p> Freeze for AgentManagerProxy<'p>
impl<'p> !RefUnwindSafe for AgentManagerProxy<'p>
impl<'p> Send for AgentManagerProxy<'p>
impl<'p> Sync for AgentManagerProxy<'p>
impl<'p> Unpin for AgentManagerProxy<'p>
impl<'p> !UnwindSafe for AgentManagerProxy<'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