pub trait WorkersStep: Sized {
type Out;
// Required method
fn apply_workers(self, workers: Workers) -> Self::Out;
}Expand description
Setting the dispatch concurrency. See SubscriberSettings::workers and
SubscriberSettings::threads, which fill this one position.
Required Associated Types§
Required Methods§
Sourcefn apply_workers(self, workers: Workers) -> Self::Out
fn apply_workers(self, workers: Workers) -> Self::Out
Fixes the dispatch concurrency.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".