pub struct TerminalNotifier;Implementations§
Trait Implementations§
Source§impl NotificationService for TerminalNotifier
impl NotificationService for TerminalNotifier
fn notify<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
title: &'life1 str,
body: &'life2 str,
) -> Pin<Box<dyn Future<Output = AppResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn bell<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AppResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for TerminalNotifier
impl RefUnwindSafe for TerminalNotifier
impl Send for TerminalNotifier
impl Sync for TerminalNotifier
impl Unpin for TerminalNotifier
impl UnsafeUnpin for TerminalNotifier
impl UnwindSafe for TerminalNotifier
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