Trait brontes::executors::Processor

source ·
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§

Required Methods§

source

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.

Implementors§