Type Alias DefaultHandler

Source
pub type DefaultHandler<TP> = SimpleHandler<SimpleExecutor<NoOpErrorListener, TP, SimpleAsyncRuntime>, NoOpErrorListener>;
Expand description

The default handler used by the generated code.

Aliased Type§

struct DefaultHandler<TP> { /* private fields */ }

Implementations§

Source§

impl<TP: BaseThreadPool> DefaultHandler<TP>

Source

pub fn new_simple(thread_pool: TP) -> Self

Source

pub fn thread_pool(&self) -> &TP

Source

pub fn async_runtime(&self) -> &SimpleAsyncRuntime