vault_tasks_time_management::time_management_technique

Trait TimeManagementTechnique

Source
pub trait TimeManagementTechnique: Debug {
    // Required method
    fn switch(&mut self, state: &Option<State>, time_spent: Duration) -> State;
}

Required Methods§

Source

fn switch(&mut self, state: &Option<State>, time_spent: Duration) -> State

Implementors§