Trait tx_indexer::handler::callback::EventHandler
source · pub trait EventHandler{
type Error: Error + ErrorPolicyProvider;
// Required method
fn handle(
&self,
event: ChainEvent
) -> impl Future<Output = Result<(), Self::Error>>;
}
Required Associated Types§
type Error: Error + ErrorPolicyProvider
Required Methods§
Object Safety§
This trait is not object safe.