ArchiveEventSubscriptionHandler

Trait ArchiveEventSubscriptionHandler 

Source
pub trait ArchiveEventSubscriptionHandler<M>
where Self: Server, M: ArchiveSubscription,
{ // Required method fn handle( &mut self, msg: M, subscriber: ArchiveEventSubscriber<M::Event>, context: &mut ServerContext<Self>, ) -> Result<(), M::Error>; }

Required Methods§

Source

fn handle( &mut self, msg: M, subscriber: ArchiveEventSubscriber<M::Event>, context: &mut ServerContext<Self>, ) -> Result<(), M::Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§