pub struct WebhookNotificationChannel { /* private fields */ }Expand description
Webhook notification channel
Implementations§
Trait Implementations§
Source§impl NotificationChannel for WebhookNotificationChannel
impl NotificationChannel for WebhookNotificationChannel
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 WebhookNotificationChannel
impl !RefUnwindSafe for WebhookNotificationChannel
impl Send for WebhookNotificationChannel
impl Sync for WebhookNotificationChannel
impl Unpin for WebhookNotificationChannel
impl !UnwindSafe for WebhookNotificationChannel
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