[][src]Trait splr::traits::RestartIF

pub trait RestartIF {
    fn new(config: &Config) -> Self;
fn block_restart(&mut self) -> bool;
fn force_restart(&mut self) -> bool;
fn initialize_luby(&mut self);
fn update_luby(&mut self); }

API for restart like block_restart, force_restart and so on.

Required methods

fn new(config: &Config) -> Self

return a new instance.

fn block_restart(&mut self) -> bool

block restart if needed.

fn force_restart(&mut self) -> bool

force restart if needed.

fn initialize_luby(&mut self)

initialize data for Luby restart.

fn update_luby(&mut self)

update data for Luby restart.

Loading content...

Implementors

impl RestartIF for RestartExecutor[src]

Loading content...