pub type BoundedWheel<T> = TimerWheel<T, Slab<WheelEntry<T>>>;Expand description
A timer wheel backed by a fixed-capacity slab.
Aliased Type§
pub struct BoundedWheel<T> { /* private fields */ }Implementations§
Source§impl<T: 'static> BoundedWheel<T>
impl<T: 'static> BoundedWheel<T>
Sourcepub fn bounded(capacity: usize, now: Instant) -> Self
pub fn bounded(capacity: usize, now: Instant) -> Self
Creates a bounded timer wheel with default configuration.
For custom configuration, use WheelBuilder.