pub struct Config {
pub copy_parallelization: usize,
pub algorithm: AlgorithmConfig,
pub delete_requests: SpecificTimings,
pub put_requests: SpecificTimings,
}
Fields§
§copy_parallelization: usize
Maximum number of simultaneous upload requests
algorithm: AlgorithmConfig
§delete_requests: SpecificTimings
The “unit” of a delete request is number of objects
put_requests: SpecificTimings
NOTE: For now, put_request
is used both in S3 get
, put
and copy
operations.
Reason: We don’t know if it’s worth it with different configurations for these operations
that all have a duration that depends on the number of bytes of the objects in question.
The “unit” for such requests are number of bytes.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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> 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>
Creates a shared type from an unshared type.