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§
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.