Trait linera_core::notifier::Notifier

source ·
pub trait Notifier: Clone + Send + 'static {
    // Required method
    fn notify(&self, notifications: &[Notification]);
}

Required Methods§

source

fn notify(&self, notifications: &[Notification])

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Notifier for ()

source§

fn notify(&self, _notifications: &[Notification])

source§

impl Notifier for Arc<Mutex<Vec<Notification>>>

source§

fn notify(&self, notifications: &[Notification])

source§

impl Notifier for Arc<ChannelNotifier<Notification>>

source§

fn notify(&self, notifications: &[Notification])

Implementors§