Lines Matching full:wheel
12 /// Timing wheel implementation.
14 /// This type provides the hashed timing wheel implementation that backs `Timer`
24 pub(crate) struct Wheel<T> { struct
25 /// The number of milliseconds elapsed since the wheel started.
28 /// Timer wheel.
55 impl<T> Wheel<T> argument
59 /// Create a new timing wheel
60 pub(crate) fn new() -> Wheel<T> { in new()
63 Wheel { elapsed: 0, levels } in new()
67 /// wheel's creation.
72 /// Insert an entry into the timing wheel.
78 /// of the timing wheel.
80 /// * `item`: The item to insert into the wheel.
120 /// Remove `item` from the timing wheel.
204 /// iteratively find entries that are between the wheel's current