pub struct NotificationsDbusProxyBlocking<'p>(/* private fields */);
Implementations§
source§impl<'p> NotificationsDbusProxyBlocking<'p>
impl<'p> NotificationsDbusProxyBlocking<'p>
sourcepub fn new<P>(
conn: &Connection,
path: P
) -> Result<NotificationsDbusProxyBlocking<'p>>
pub fn new<P>( conn: &Connection, path: P ) -> Result<NotificationsDbusProxyBlocking<'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 fn active_notifications(&self) -> Result<Vec<String>>
sourcepub fn receive_all_notifications_removed(
&self
) -> Result<allNotificationsRemovedIterator<'static>>
pub fn receive_all_notifications_removed( &self ) -> Result<allNotificationsRemovedIterator<'static>>
Create a stream that receives allNotificationsRemoved
signals.
This a convenient wrapper around zbus::blocking::Proxy::receive_signal
.
sourcepub fn receive_notification_posted(
&self
) -> Result<notificationPostedIterator<'static>>
pub fn receive_notification_posted( &self ) -> Result<notificationPostedIterator<'static>>
Create a stream that receives notificationPosted
signals.
This a convenient wrapper around zbus::blocking::Proxy::receive_signal
.
sourcepub fn receive_notification_posted_with_args(
&self,
args: &[(u8, &str)]
) -> Result<notificationPostedIterator<'static>>
pub fn receive_notification_posted_with_args( &self, args: &[(u8, &str)] ) -> Result<notificationPostedIterator<'static>>
Create a stream that receives notificationPosted
signals.
This a convenient wrapper around zbus::blocking::Proxy::receive_signal_with_args
.
sourcepub fn receive_notification_removed(
&self
) -> Result<notificationRemovedIterator<'static>>
pub fn receive_notification_removed( &self ) -> Result<notificationRemovedIterator<'static>>
Create a stream that receives notificationRemoved
signals.
This a convenient wrapper around zbus::blocking::Proxy::receive_signal
.
sourcepub fn receive_notification_removed_with_args(
&self,
args: &[(u8, &str)]
) -> Result<notificationRemovedIterator<'static>>
pub fn receive_notification_removed_with_args( &self, args: &[(u8, &str)] ) -> Result<notificationRemovedIterator<'static>>
Create a stream that receives notificationRemoved
signals.
This a convenient wrapper around zbus::blocking::Proxy::receive_signal_with_args
.
Trait Implementations§
source§impl<'p> AsMut<Proxy<'p>> for NotificationsDbusProxyBlocking<'p>
impl<'p> AsMut<Proxy<'p>> for NotificationsDbusProxyBlocking<'p>
source§impl<'p> AsRef<Proxy<'p>> for NotificationsDbusProxyBlocking<'p>
impl<'p> AsRef<Proxy<'p>> for NotificationsDbusProxyBlocking<'p>
source§impl<'p> Clone for NotificationsDbusProxyBlocking<'p>
impl<'p> Clone for NotificationsDbusProxyBlocking<'p>
source§fn clone(&self) -> NotificationsDbusProxyBlocking<'p>
fn clone(&self) -> NotificationsDbusProxyBlocking<'p>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more