[][src]Trait sealrs::executors::executor::Executor

pub trait Executor {
    fn execute(&mut self, f: ExecutorTask, options: Option<Box<dyn Any>>);
fn stop(&mut self); }

Required methods

fn execute(&mut self, f: ExecutorTask, options: Option<Box<dyn Any>>)

fn stop(&mut self)

Loading content...

Implementors

impl Executor for DefaultDispatcher[src]

impl Executor for PinnedDispatcher[src]

impl Executor for WrappedDispatcher[src]

impl Executor for MyDispatcher[src]

impl Executor for ThreadPinnedExecutor[src]

fn execute(&mut self, f: ExecutorTask, options: Option<Box<dyn Any>>)[src]

Plans task for execution. This method must be called only after the executor is running. Otherwise it will cause to panic!

fn stop(&mut self)[src]

Stops executor threads

Loading content...