pub struct ParallelAnalyzer<'a> { /* private fields */ }Expand description
Parallel analyzer for file processing
Implementations§
Source§impl<'a> ParallelAnalyzer<'a>
impl<'a> ParallelAnalyzer<'a>
Sourcepub fn with_thread_count(cache: &'a FileCache, thread_count: usize) -> Self
pub fn with_thread_count(cache: &'a FileCache, thread_count: usize) -> Self
Create a new ParallelAnalyzer with a specific thread count
Sourcepub fn analyze_files(
&self,
files: &[PathBuf],
project_root: &Path,
options: &AnalysisOptions,
valid_files: &HashSet<PathBuf>,
) -> Result<Vec<FileAnalysisResult>>
pub fn analyze_files( &self, files: &[PathBuf], project_root: &Path, options: &AnalysisOptions, valid_files: &HashSet<PathBuf>, ) -> Result<Vec<FileAnalysisResult>>
Analyze multiple files in parallel
Auto Trait Implementations§
impl<'a> Freeze for ParallelAnalyzer<'a>
impl<'a> !RefUnwindSafe for ParallelAnalyzer<'a>
impl<'a> Send for ParallelAnalyzer<'a>
impl<'a> Sync for ParallelAnalyzer<'a>
impl<'a> Unpin for ParallelAnalyzer<'a>
impl<'a> !UnwindSafe for ParallelAnalyzer<'a>
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