pub struct DesktopNotificationReceiver {}
Available on crate feature
desktop
only.Expand description
Receive a notification to the desktop
§KDE
You need to enable “Other applications” notifications to show in tray
if you want these to persist - at least when running with cargo run
/ without
an installation.
Trait Implementations§
Source§impl Debug for DesktopNotificationReceiver
impl Debug for DesktopNotificationReceiver
Source§impl<'de> Deserialize<'de> for DesktopNotificationReceiver
impl<'de> Deserialize<'de> for DesktopNotificationReceiver
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl SerializableDestination for DesktopNotificationReceiver
impl SerializableDestination for DesktopNotificationReceiver
fn as_message_destination(&self) -> &dyn MessageDestination
Auto Trait Implementations§
impl Freeze for DesktopNotificationReceiver
impl RefUnwindSafe for DesktopNotificationReceiver
impl Send for DesktopNotificationReceiver
impl Sync for DesktopNotificationReceiver
impl Unpin for DesktopNotificationReceiver
impl UnwindSafe for DesktopNotificationReceiver
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