pub enum HashThreads {
Automatic,
Exact(usize),
}Expand description
Per-operation v1 hashing worker selection.
Variants§
Automatic
Select a conservative bounded worker count for v1 creation.
Exact(usize)
Use exactly this many workers; one preserves the sequential oracle.
Trait Implementations§
Source§impl Clone for HashThreads
impl Clone for HashThreads
Source§fn clone(&self) -> HashThreads
fn clone(&self) -> HashThreads
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HashThreads
impl Debug for HashThreads
Source§impl Default for HashThreads
impl Default for HashThreads
Source§fn default() -> HashThreads
fn default() -> HashThreads
Returns the “default value” for a type. Read more
Source§impl PartialEq for HashThreads
impl PartialEq for HashThreads
impl Copy for HashThreads
impl Eq for HashThreads
impl StructuralPartialEq for HashThreads
Auto Trait Implementations§
impl Freeze for HashThreads
impl RefUnwindSafe for HashThreads
impl Send for HashThreads
impl Sync for HashThreads
impl Unpin for HashThreads
impl UnwindSafe for HashThreads
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more