Struct aleph_bft::rmc::DoublingDelayScheduler[][src]

pub struct DoublingDelayScheduler<T> { /* fields omitted */ }
Expand description

A basic task scheduler scheduling tasks with an exponential slowdown

A scheduler parameterized by a duration initial_delay. When a task is added to the scheduler it is first scheduled immediately, then it is scheduled indefinitely, where the first delay is initial_delay, and each following delay for that task is two times longer than the previous one.

Implementations

Trait Implementations

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

Performs the conversion.

Performs the conversion.

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.