pub struct MultiArchiveProcessor { /* private fields */ }Implementations§
Source§impl MultiArchiveProcessor
impl MultiArchiveProcessor
Sourcepub async fn from_directory(
dir_path: &Path,
file_pattern: Option<&str>,
max_workers: usize,
) -> Result<Self>
pub async fn from_directory( dir_path: &Path, file_pattern: Option<&str>, max_workers: usize, ) -> Result<Self>
Create a new processor by scanning a directory for zip files
Sourcepub fn get_summary(&self) -> String
pub fn get_summary(&self) -> String
Get summary of all discovered archives
Sourcepub async fn process_unified_data(
self,
station_filter: Option<u32>,
) -> Result<(Vec<WeatherRecord>, IntegrityReport, DatasetComposition)>
pub async fn process_unified_data( self, station_filter: Option<u32>, ) -> Result<(Vec<WeatherRecord>, IntegrityReport, DatasetComposition)>
Process all archives and merge data into unified records
Sourcepub fn archive_paths(&self) -> Vec<&Path>
pub fn archive_paths(&self) -> Vec<&Path>
Get list of archive paths
Sourcepub fn archive_count(&self) -> usize
pub fn archive_count(&self) -> usize
Get total number of archives
Auto Trait Implementations§
impl Freeze for MultiArchiveProcessor
impl RefUnwindSafe for MultiArchiveProcessor
impl Send for MultiArchiveProcessor
impl Sync for MultiArchiveProcessor
impl Unpin for MultiArchiveProcessor
impl UnwindSafe for MultiArchiveProcessor
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