pub struct ParallelProcessor;Expand description
Parallel processor for batch processing RAW files
Implementations§
Source§impl ParallelProcessor
impl ParallelProcessor
Sourcepub fn process_files<P: AsRef<Path> + Send + Sync>(
files: &[P],
config: &ParallelConfig,
) -> Vec<ProcessResult>
pub fn process_files<P: AsRef<Path> + Send + Sync>( files: &[P], config: &ParallelConfig, ) -> Vec<ProcessResult>
Process multiple files in parallel
Sourcepub fn process_with_stats<P: AsRef<Path> + Send + Sync>(
files: &[P],
config: &ParallelConfig,
) -> (Vec<ProcessResult>, ProcessingStats)
pub fn process_with_stats<P: AsRef<Path> + Send + Sync>( files: &[P], config: &ParallelConfig, ) -> (Vec<ProcessResult>, ProcessingStats)
Process files and collect statistics
Sourcepub fn process_single<P: AsRef<Path>>(path: P) -> ProcessResult
pub fn process_single<P: AsRef<Path>>(path: P) -> ProcessResult
Process a single file (convenience method)
Auto Trait Implementations§
impl Freeze for ParallelProcessor
impl RefUnwindSafe for ParallelProcessor
impl Send for ParallelProcessor
impl Sync for ParallelProcessor
impl Unpin for ParallelProcessor
impl UnsafeUnpin for ParallelProcessor
impl UnwindSafe for ParallelProcessor
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