timely::schedulingTrait Schedule
Source pub trait Schedule {
// Required methods
fn name(&self) -> &str;
fn path(&self) -> &[usize];
fn schedule(&mut self) -> bool;
}
Expand description
A type that can be scheduled.
A descriptive name for the operator
An address identifying the operator.
Schedules the operator, receives “cannot terminate” boolean.
The return value indicates whether self
has outstanding
work and would be upset if the computation terminated.