pub struct LeveledScheduler;
Expand description

LeveledScheduler computes sets of mutually exclusive tasks that can be run concurrently. Unlike GreedyScheduler, which will immediately consume the next available task regardless of level, LeveledScheduler will wait for an entire level to finish computation before moving to the next one.

This has some small benefits when it to reproducibility: it natually is more deterministic than the GreedyScheduler, though potentially slower in some cases a set of tasks on a level are slower.

Trait Implementations§

Compute the given Graph, returning the value.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.