pub trait Processor:
Send
+ Sync
+ 'static
+ Unpin
+ Copy
+ Clone {
type InspectType: Send + Sync + Unpin;
// Required method
fn process_results<DB: DBWriter + LibmdbxReader>(
db: &'static DB,
inspectors: &'static [&dyn Inspector<Result = Self::InspectType>],
data: MultiBlockData,
) -> impl Future<Output = ()> + Send;
}Required Associated Types§
type InspectType: Send + Sync + Unpin
Required Methods§
fn process_results<DB: DBWriter + LibmdbxReader>( db: &'static DB, inspectors: &'static [&dyn Inspector<Result = Self::InspectType>], data: MultiBlockData, ) -> impl Future<Output = ()> + Send
Object Safety§
This trait is not object safe.