Struct s3_algo::RequestReport
source · pub struct RequestReport {
pub seq: usize,
pub size: usize,
pub total_time: Duration,
pub success_time: Duration,
pub attempts: usize,
pub est: f64,
}Expand description
Result of a single S3 request.
Fields§
§seq: usizeThe number of this request in a series of multiple requests (0 if not applicable)
size: usizeSize of request - in bytes or in number of objects, depending on the type of request.
total_time: DurationThe total time including all retries
success_time: DurationThe time of the successful request
attempts: usizeNumber of attempts. A value of 1 means no retries - success on first attempt.
est: f64Estimated sec/unit that was used in this request. Useful for debugging the upload algorithm and not much more.
Trait Implementations§
source§impl Clone for RequestReport
impl Clone for RequestReport
source§fn clone(&self) -> RequestReport
fn clone(&self) -> RequestReport
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more