pub struct S3MultiPartUploaderConfig {
pub part_size_limit: u64,
pub file_size_limit: u64,
}
Expand description
Configuration object to configure the behaviour of the S3MultiPartUploader
.
Fields§
§part_size_limit: u64
Size of data buffered in memory before being uploaded as a part.
file_size_limit: u64
The max file size of the file uploaded to s3 by an S3MultiPartUploader
instance.
Implementations§
source§impl S3MultiPartUploaderConfig
impl S3MultiPartUploaderConfig
sourceconst DEFAULT_MAX_FILE_SIZE: ByteSize = _
const DEFAULT_MAX_FILE_SIZE: ByteSize = _
Choosing a reasonable default for the maximum file size which
this uploader can upload. This can be overridden in the
S3MultiPartUploaderConfig
config.
sourceconst DEFAULT_PART_SIZE_LIMIT: ByteSize = _
const DEFAULT_PART_SIZE_LIMIT: ByteSize = _
Choosing a reasonable default for a part size. This can be overridden in the
S3MultiPartUploaderConfig
config.
Trait Implementations§
source§impl Debug for S3MultiPartUploaderConfig
impl Debug for S3MultiPartUploaderConfig
Auto Trait Implementations§
impl Freeze for S3MultiPartUploaderConfig
impl RefUnwindSafe for S3MultiPartUploaderConfig
impl Send for S3MultiPartUploaderConfig
impl Sync for S3MultiPartUploaderConfig
impl Unpin for S3MultiPartUploaderConfig
impl UnwindSafe for S3MultiPartUploaderConfig
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
Mutably borrows from an owned value. Read more
source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
Creates a shared type from an unshared type.