UploaderOpts#
- #[non_exhaustive] pub struct UploaderOpts#
Configuration for
FileObjectStoreUploader.Marked
#[non_exhaustive]so new options can be added without a breaking change. Construct withUploaderOpts::defaultand customise via thewith_*methods.
Fields#
- pub chunk_size: usize#
- pub max_retries: usize#
- pub max_concurrent_uploads: usize#
Implementations#
- impl UploaderOpts
- pub fn with_chunk_size(self, chunk_size: usize) -> Self#
- pub fn with_max_retries(self, max_retries: usize) -> Self#
- pub fn with_max_concurrent_uploads(self, max_concurrent_uploads: usize) -> Self#
Trait implementations#
- impl Default for UploaderOpts
- fn default() -> Self
Auto traits: Send, Sync, Unpin, UnwindSafe, RefUnwindSafe