Function tokio::runtime::time::wheel::level::slot_for

source ยท
fn slot_for(duration: u64, level: usize) -> usize
Expand description

Converts a duration (milliseconds) and a level to a slot position.