Trait email::thread_pool::ThreadPoolContextBuilder
source · pub trait ThreadPoolContextBuilder: Clone + Send + Sync {
type Context: ThreadPoolContext;
// Required method
fn build<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = AnyResult<Self::Context>> + Send + 'async_trait>>
where Self: 'async_trait;
}
Expand description
The thread pool context builder.
Required Associated Types§
sourcetype Context: ThreadPoolContext
type Context: ThreadPoolContext
The context built by this trait.
Required Methods§
Object Safety§
This trait is not object safe.