pub struct DeviceEventListenerProxyBlocking<'p>(/* private fields */);
Implementations§
source§impl<'p> DeviceEventListenerProxyBlocking<'p>
impl<'p> DeviceEventListenerProxyBlocking<'p>
sourcepub fn new(conn: &Connection) -> Result<DeviceEventListenerProxyBlocking<'p>>
pub fn new(conn: &Connection) -> Result<DeviceEventListenerProxyBlocking<'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 notify_event(&self, event: &DeviceEvent<'_>) -> Result<bool>
pub fn notify_event(&self, event: &DeviceEvent<'_>) -> Result<bool>
NotifyEvent method
Trait Implementations§
source§impl<'p> AsMut<Proxy<'p>> for DeviceEventListenerProxyBlocking<'p>
impl<'p> AsMut<Proxy<'p>> for DeviceEventListenerProxyBlocking<'p>
source§impl<'p> AsRef<Proxy<'p>> for DeviceEventListenerProxyBlocking<'p>
impl<'p> AsRef<Proxy<'p>> for DeviceEventListenerProxyBlocking<'p>
source§impl<'p> Clone for DeviceEventListenerProxyBlocking<'p>
impl<'p> Clone for DeviceEventListenerProxyBlocking<'p>
source§fn clone(&self) -> DeviceEventListenerProxyBlocking<'p>
fn clone(&self) -> DeviceEventListenerProxyBlocking<'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 DeviceEventListenerProxyBlocking<'p>
impl<'p> Debug for DeviceEventListenerProxyBlocking<'p>
source§impl<'p> From<Proxy<'p>> for DeviceEventListenerProxyBlocking<'p>
impl<'p> From<Proxy<'p>> for DeviceEventListenerProxyBlocking<'p>
source§impl<'a> ProxyDefault for DeviceEventListenerProxyBlocking<'a>
impl<'a> ProxyDefault for DeviceEventListenerProxyBlocking<'a>
source§impl<'p> ProxyImpl<'p> for DeviceEventListenerProxyBlocking<'p>
impl<'p> ProxyImpl<'p> for DeviceEventListenerProxyBlocking<'p>
source§impl<'p> Serialize for DeviceEventListenerProxyBlocking<'p>
impl<'p> Serialize for DeviceEventListenerProxyBlocking<'p>
Auto Trait Implementations§
impl<'p> Freeze for DeviceEventListenerProxyBlocking<'p>
impl<'p> !RefUnwindSafe for DeviceEventListenerProxyBlocking<'p>
impl<'p> Send for DeviceEventListenerProxyBlocking<'p>
impl<'p> Sync for DeviceEventListenerProxyBlocking<'p>
impl<'p> Unpin for DeviceEventListenerProxyBlocking<'p>
impl<'p> !UnwindSafe for DeviceEventListenerProxyBlocking<'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