Skip to main content

clear_timer

Function clear_timer 

Source
pub fn clear_timer(
    kind: SimulationTimer,
    election: &mut Option<SimInstant>,
    fetch: &mut Option<SimInstant>,
    heartbeat: &mut Option<SimInstant>,
    quorum: &mut Option<SimInstant>,
)
Expand description

Disarm the timer that just fired before applying its event.