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

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

Required methods

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

Loading content...

Implementors

impl Executor for DefaultDispatcher[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!

Loading content...