# UploaderOpts

## #[non_exhaustive] pub struct UploaderOpts

Configuration for [`FileObjectStoreUploader`](https://dev.nominal.io/nominal-streaming/ref/rust/nominal_streaming/upload/struct.FileObjectStoreUploader.md "nominal_streaming::upload::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`](https://doc.rust-lang.org/1.98.1/core/fmt/trait.Debug.html), [`Clone`](https://doc.rust-lang.org/1.98.1/core/clone/trait.Clone.html)

**Auto traits**: [`Send`](https://doc.rust-lang.org/1.98.1/core/marker/trait.Send.html), [`Sync`](https://doc.rust-lang.org/1.98.1/core/marker/trait.Sync.html), [`Unpin`](https://doc.rust-lang.org/1.98.1/core/marker/trait.Unpin.html), [`UnwindSafe`](https://doc.rust-lang.org/1.98.1/core/panic/unwind_safe/trait.UnwindSafe.html), [`RefUnwindSafe`](https://doc.rust-lang.org/1.98.1/core/panic/unwind_safe/trait.RefUnwindSafe.html)
