Skip to main content

restore_pause_state

Function restore_pause_state 

Source
pub fn restore_pause_state(path: &Path) -> PauseState
Expand description

Reconstruct a PauseState from the on-disk snapshot, used at scheduler boot. Timed pauses whose deadline already passed are cleared back to Running and the snapshot is rewritten.