StructuralSchedulingJob

Trait StructuralSchedulingJob 

Source
pub trait StructuralSchedulingJob: Debug {
    // Required method
    fn schedule_next(
        &mut self,
        context: &mut SchedulerContext,
    ) -> Result<Vec<ScheduledScanLine>>;
}

Required Methods§

Source

fn schedule_next( &mut self, context: &mut SchedulerContext, ) -> Result<Vec<ScheduledScanLine>>

Schedule the next batch of data

Normally this equates to scheduling the next page of data into one task. Very large pages might be split into multiple scan lines. Each scan line has one or more rows.

If a scheduler ends early it may return an empty vector.

Implementors§