Skip to main content

ThreadCount

Trait ThreadCount 

Source
pub trait ThreadCount {
    // Required method
    fn into_thread_count(self) -> Option<usize>;
}
Expand description

Accepted thread-count forms for ParallelScanner::new.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ThreadCount for Option<usize>

Source§

impl ThreadCount for usize

Implementors§