pub struct Settings {
pub part_size: usize,
pub timeout: Duration,
pub data_timeout: Duration,
pub max_multipart_upload_parts: usize,
pub max_delete_objects: usize,
}Fields
part_size: usizeSize of multipart upload part.
Note: On AWS S3 the part size is must be between 5MiB to 5GiB
timeout: DurationTimeout for non data related operations.
data_timeout: DurationTimeout for data upload/download operations.
max_multipart_upload_parts: usizeMaximum number of multipart uploads (for calculations of S3::max_upload_size()) (AWS limit is 10k)
max_delete_objects: usizeMaximum number of objects that can be deleted with one API call (AWS limit is 1k)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more