Struct atspi_proxies::registry::RegistryProxyBlocking
source · pub struct RegistryProxyBlocking<'p>(/* private fields */);
Implementations§
source§impl<'p> RegistryProxyBlocking<'p>
impl<'p> RegistryProxyBlocking<'p>
sourcepub fn new(conn: &Connection) -> Result<RegistryProxyBlocking<'p>>
pub fn new(conn: &Connection) -> Result<RegistryProxyBlocking<'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 fn deregister_event(&self, event: &str) -> Result<()>
pub fn deregister_event(&self, event: &str) -> Result<()>
DeregisterEvent method
sourcepub fn registered_events(&self) -> Result<Vec<(OwnedBusName, String)>>
pub fn registered_events(&self) -> Result<Vec<(OwnedBusName, String)>>
GetRegisteredEvents method
sourcepub fn register_event(&self, event: &str) -> Result<()>
pub fn register_event(&self, event: &str) -> Result<()>
RegisterEvent method
Trait Implementations§
source§impl<'p> AsMut<Proxy<'p>> for RegistryProxyBlocking<'p>
impl<'p> AsMut<Proxy<'p>> for RegistryProxyBlocking<'p>
source§impl<'p> AsRef<Proxy<'p>> for RegistryProxyBlocking<'p>
impl<'p> AsRef<Proxy<'p>> for RegistryProxyBlocking<'p>
source§impl<'p> Clone for RegistryProxyBlocking<'p>
impl<'p> Clone for RegistryProxyBlocking<'p>
source§fn clone(&self) -> RegistryProxyBlocking<'p>
fn clone(&self) -> RegistryProxyBlocking<'p>
Returns a copy 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 RegistryProxyBlocking<'p>
impl<'p> Debug for RegistryProxyBlocking<'p>
source§impl<'p> From<Proxy<'p>> for RegistryProxyBlocking<'p>
impl<'p> From<Proxy<'p>> for RegistryProxyBlocking<'p>
source§impl<'a> ProxyDefault for RegistryProxyBlocking<'a>
impl<'a> ProxyDefault for RegistryProxyBlocking<'a>
source§impl<'p> ProxyImpl<'p> for RegistryProxyBlocking<'p>
impl<'p> ProxyImpl<'p> for RegistryProxyBlocking<'p>
source§impl<'p> Serialize for RegistryProxyBlocking<'p>
impl<'p> Serialize for RegistryProxyBlocking<'p>
Auto Trait Implementations§
impl<'p> Freeze for RegistryProxyBlocking<'p>
impl<'p> !RefUnwindSafe for RegistryProxyBlocking<'p>
impl<'p> Send for RegistryProxyBlocking<'p>
impl<'p> Sync for RegistryProxyBlocking<'p>
impl<'p> Unpin for RegistryProxyBlocking<'p>
impl<'p> !UnwindSafe for RegistryProxyBlocking<'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
source§impl<T> DynamicType for T
impl<T> DynamicType for T
source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more