pub trait EventHandler
where Self: Clone + Send + 'static,
{ type Error: Error + ErrorPolicyProvider; // Required method fn handle( &self, event: ChainEvent ) -> impl Future<Output = Result<(), Self::Error>>; }

Required Associated Types§

Required Methods§

source

fn handle( &self, event: ChainEvent ) -> impl Future<Output = Result<(), Self::Error>>

Object Safety§

This trait is not object safe.

Implementors§