[][src]Trait hierarchical_hash_wheel_timer::wheels::TimerEntryWithDelay

pub trait TimerEntryWithDelay: Debug {
    fn delay(&self) -> Duration;
}

A trait for timer entries that store their delay along the with the state

Required methods

fn delay(&self) -> Duration

Returns the time until the timeout is supposed to be triggered

Loading content...

Implementors

impl<I> TimerEntryWithDelay for IdOnlyTimerEntry<I> where
    I: Hash + Clone + Eq + Debug
[src]

Loading content...