Trait RegionProcessor

Source
pub trait RegionProcessor {
    type P: 'static + Send + Sync + Serialize;

    // Required method
    fn process_region(&self, tid: u32, start: u32, stop: u32) -> Vec<Self::P>;
}
Expand description

RegionProcessor defines the methods that must be implemented to process a region

Required Associated Types§

Source

type P: 'static + Send + Sync + Serialize

A vector of P make up the output of process_region and are values associated with each position.

Required Methods§

Source

fn process_region(&self, tid: u32, start: u32, stop: u32) -> Vec<Self::P>

A function that takes the tid, start, and stop and returns something serializable. Note, a common use of this function will be a fetch -> pileup. The pileup must be bounds checked.

Implementors§