UploaderOpts#

#[non_exhaustive] pub struct UploaderOpts#

Configuration for FileObjectStoreUploader.

Marked #[non_exhaustive] so new options can be added without a breaking change. Construct with UploaderOpts::default and customise via the with_* 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

Derived: Debug, Clone

Auto traits: Send, Sync, Unpin, UnwindSafe, RefUnwindSafe