pub struct ConsoleNotificationChannel { /* private fields */ }Expand description
Console notification channel
Implementations§
Trait Implementations§
Source§impl NotificationChannel for ConsoleNotificationChannel
impl NotificationChannel for ConsoleNotificationChannel
fn send_notification<'life0, 'life1, 'async_trait>(
&'life0 self,
notification: &'life1 AlertNotification,
) -> Pin<Box<dyn Future<Output = RragResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn channel_type(&self) -> NotificationChannelType
fn name(&self) -> &str
fn is_healthy<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for ConsoleNotificationChannel
impl RefUnwindSafe for ConsoleNotificationChannel
impl Send for ConsoleNotificationChannel
impl Sync for ConsoleNotificationChannel
impl Unpin for ConsoleNotificationChannel
impl UnwindSafe for ConsoleNotificationChannel
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