Skip to main content

forward_threadpool

Macro forward_threadpool 

Source
macro_rules! forward_threadpool {
    ($out:ident = $in:ident) => { ... };
    ($out:ident = $in:ident: $type:ty) => { ... };
}
Expand description

The forward_threadpool macro simplifies obtaining a thread pool from an input that implements the AsThreadPool trait.