pub struct CsvHashTaskSpawnerRayon { /* private fields */ }
Implementationsยง
Sourceยงimpl CsvHashTaskSpawnerRayon
impl CsvHashTaskSpawnerRayon
pub fn with_thread_pool_arc(thread_pool: Arc<ThreadPool>) -> Self
pub fn with_thread_pool_owned(thread_pool: ThreadPool) -> Self
Trait Implementationsยง
Sourceยงimpl CsvHashTaskSpawner for CsvHashTaskSpawnerRayon
impl CsvHashTaskSpawner for CsvHashTaskSpawnerRayon
fn spawn_hashing_tasks_and_send_result<R: Read + Send + 'static>( self, csv_hash_task_sender_left: CsvHashTaskSenderWithRecycleReceiver<R>, csv_hash_task_sender_right: CsvHashTaskSenderWithRecycleReceiver<R>, csv_hash_receiver_comparer: CsvHashReceiverStreamComparer, primary_key_columns: HashSet<usize>, ) -> (Self, Receiver<DiffByteRecordsIterator>)
fn parse_hash_and_send_for_compare<R, P>(
csv_hash_task_sender: CsvHashTaskSenderWithRecycleReceiver<R>,
primary_key_columns: HashSet<usize>,
)where
R: Read + Send,
P: CsvParseResult<CsvLeftRightParseResult<CsvByteRecordWithHash>, CsvByteRecordWithHash>,
Auto Trait Implementationsยง
impl Freeze for CsvHashTaskSpawnerRayon
impl !RefUnwindSafe for CsvHashTaskSpawnerRayon
impl Send for CsvHashTaskSpawnerRayon
impl Sync for CsvHashTaskSpawnerRayon
impl Unpin for CsvHashTaskSpawnerRayon
impl !UnwindSafe for CsvHashTaskSpawnerRayon
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
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more