pub struct NotifyReporter { /* private fields */ }Expand description
Desktop notification reporter plugin.
Implementations§
Source§impl NotifyReporter
impl NotifyReporter
pub fn new(config: NotifyConfig) -> Self
Sourcepub fn last_notification(&self) -> Option<&Notification>
pub fn last_notification(&self) -> Option<&Notification>
Get the last notification that was built (for testing).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NotifyReporter
impl RefUnwindSafe for NotifyReporter
impl Send for NotifyReporter
impl Sync for NotifyReporter
impl Unpin for NotifyReporter
impl UnsafeUnpin for NotifyReporter
impl UnwindSafe for NotifyReporter
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