Trait timely::scheduling::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.

Required Methods§

source

fn name(&self) -> &str

A descriptive name for the operator

source

fn path(&self) -> &[usize]

An address identifying the operator.

source

fn schedule(&mut self) -> bool

Schedules the operator, receives “cannot terminate” boolean.

The return value indicates whether self has outstanding work and would be upset if the computation terminated.

Implementors§

source§

impl<TOuter, TInner> Schedule for Subgraph<TOuter, TInner>
where TOuter: Timestamp, TInner: Timestamp + Refines<TOuter>,