Enum smartpool::ScheduleAlgorithm
source · Expand description
Different schedules by which the thread pool can be configured to select between levels.
Variants§
HighestFirst
Always run the highest level at which there is a task.
RoundRobin(Vec<Duration>)
Rotate between the schedule levels, round-robin, giving each level a certain duration of time slice.
Trait Implementations§
source§impl Clone for ScheduleAlgorithm
impl Clone for ScheduleAlgorithm
source§fn clone(&self) -> ScheduleAlgorithm
fn clone(&self) -> ScheduleAlgorithm
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more