Searched refs:tick_rate (Results 1 – 2 of 2) sorted by relevance
36 pub fn new(tick_rate: u64) -> Self { in new()37 let tick_rate = Duration::from_millis(tick_rate); in new() localVariable44 let timeout = tick_rate in new()46 .unwrap_or(tick_rate); in new()58 if last_tick.elapsed() >= tick_rate { in new()
40 tick_rate: 1, in new()133 tick_rate: usize, field141 for _ in 0..self.tick_rate { in on_tick()145 .extend(self.source.by_ref().take(self.tick_rate)); in on_tick()