pub struct FileDiscovery { /* private fields */ }Expand description
Handles discovery and processing of multiple files and folders
Implementations§
Source§impl FileDiscovery
impl FileDiscovery
pub fn new(s3_client: S3Client, workspace_bucket: String) -> Self
Sourcepub async fn discover_files(&self, input_spec: &str) -> Result<Vec<FileInfo>>
pub async fn discover_files(&self, input_spec: &str) -> Result<Vec<FileInfo>>
Discover all files to process from the input specification
Sourcepub fn generate_processing_summary(
&self,
files: &[FileInfo],
) -> ProcessingSummary
pub fn generate_processing_summary( &self, files: &[FileInfo], ) -> ProcessingSummary
Generate processing summary
Auto Trait Implementations§
impl Freeze for FileDiscovery
impl !RefUnwindSafe for FileDiscovery
impl Send for FileDiscovery
impl Sync for FileDiscovery
impl Unpin for FileDiscovery
impl !UnwindSafe for FileDiscovery
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreCreates a shared type from an unshared type.