[][src]Trait threads_pool::ThreadPoolStates

pub trait ThreadPoolStates {
    fn set_exec_timeout(&mut self, timeout: Option<Duration>);
fn get_exec_timeout(&self) -> Option<Duration>;
fn toggle_auto_scale(&mut self, auto_scale: bool);
fn auto_scale_enabled(&self) -> bool; }

Required methods

fn set_exec_timeout(&mut self, timeout: Option<Duration>)

fn get_exec_timeout(&self) -> Option<Duration>

fn toggle_auto_scale(&mut self, auto_scale: bool)

fn auto_scale_enabled(&self) -> bool

Loading content...

Implementors

impl ThreadPoolStates for ThreadPool[src]

Loading content...