pub struct S3ZipLocalUnzipOptions { /* private fields */ }Expand description
Options for extracting an S3 ZIP object into a local directory.
Implementations§
Source§impl S3ZipLocalUnzipOptions
impl S3ZipLocalUnzipOptions
Sourcepub fn new(source: S3Object, destination_dir: impl Into<PathBuf>) -> Self
pub fn new(source: S3Object, destination_dir: impl Into<PathBuf>) -> Self
Creates extract options for a source ZIP object and local destination directory.
Sourcepub fn with_selection(self, selection: impl Into<UnzipSelection>) -> Self
pub fn with_selection(self, selection: impl Into<UnzipSelection>) -> Self
Sets ZIP entry selection patterns.
Sourcepub fn collect_diagnostics(self) -> Self
pub fn collect_diagnostics(self) -> Self
Collects source scheduler diagnostics in the returned report.
Sourcepub fn force_hash_comparison(self) -> Self
pub fn force_hash_comparison(self) -> Self
Ignores any embedded catalog and hashes ZIP entries for comparison.
Sourcepub fn with_comparison_mode(self, comparison: ComparisonMode) -> Self
pub fn with_comparison_mode(self, comparison: ComparisonMode) -> Self
Sets the ZIP entry comparison policy.
Sourcepub fn without_operations(self) -> Self
pub fn without_operations(self) -> Self
Omits per-entry operation records from the returned report.
Sourcepub fn with_concurrency(self, concurrency: usize) -> Self
pub fn with_concurrency(self, concurrency: usize) -> Self
Sets the maximum number of ZIP entries processed concurrently.
Sourcepub fn with_source_block_size(self, source_block_size: usize) -> Self
pub fn with_source_block_size(self, source_block_size: usize) -> Self
Sets the maximum size for planned source ZIP blocks.
Sourcepub fn with_source_block_merge_gap(self, source_block_merge_gap: usize) -> Self
pub fn with_source_block_merge_gap(self, source_block_merge_gap: usize) -> Self
Sets the maximum gap that can be read while coalescing adjacent source spans.
Sourcepub fn with_source_get_concurrency(self, source_get_concurrency: usize) -> Self
pub fn with_source_get_concurrency(self, source_get_concurrency: usize) -> Self
Sets the maximum number of ranged source GetObject requests in flight.
Sourcepub fn with_source_window_capacity(self, source_window_capacity: usize) -> Self
pub fn with_source_window_capacity(self, source_window_capacity: usize) -> Self
Sets the maximum bytes held by the planned source block window.
Sourcepub fn with_source_window_memory_budget_mb(
self,
source_window_memory_budget_mb: u64,
) -> Self
pub fn with_source_window_memory_budget_mb( self, source_window_memory_budget_mb: u64, ) -> Self
Sets the available memory budget, in MiB, used to derive the source block window.
Trait Implementations§
Source§impl Clone for S3ZipLocalUnzipOptions
impl Clone for S3ZipLocalUnzipOptions
Source§fn clone(&self) -> S3ZipLocalUnzipOptions
fn clone(&self) -> S3ZipLocalUnzipOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for S3ZipLocalUnzipOptions
impl RefUnwindSafe for S3ZipLocalUnzipOptions
impl Send for S3ZipLocalUnzipOptions
impl Sync for S3ZipLocalUnzipOptions
impl Unpin for S3ZipLocalUnzipOptions
impl UnsafeUnpin for S3ZipLocalUnzipOptions
impl UnwindSafe for S3ZipLocalUnzipOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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