Skip to main content

NotificationSink

Trait NotificationSink 

Source
pub trait NotificationSink: Send + Sync {
    // Required method
    fn notify<'a>(
        &'a self,
        notification: Notification,
    ) -> BoxRpcFuture<'a, Result<(), RuntimeError>>;
}

Required Methods§

Source

fn notify<'a>( &'a self, notification: Notification, ) -> BoxRpcFuture<'a, Result<(), RuntimeError>>

Implementors§