[−][src]Trait hierarchical_hash_wheel_timer::OneshotState
A trait for state that can be triggered once
Associated Types
Loading content...Required methods
fn id(&self) -> &Self::Id
A reference to the id associated with this state
fn trigger(self)
Trigger should be called by the timer implementation when the timeout has expired.
The method can be used for custom expiry actions, but it is strongly recommended to keep these quick, as long actions can delay the execution of later timers.
Implementors
impl<I> OneshotState for OneShotClosureState<I> where
I: Hash + Clone + Eq,
[src]
I: Hash + Clone + Eq,