Struct s3_algo::RequestReport[][src]

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: usize

The number of this request in a series of multiple requests (0 if not applicable)

size: usize

Size of request - in bytes or in number of objects, depending on the type of request.

total_time: Duration

The total time including all retries

success_time: Duration

The time of the successful request

attempts: usize

Number of attempts. A value of 1 means no retries - success on first attempt.

est: f64

Estimated sec/unit that was used in this request. Useful for debugging the upload algorithm and not much more.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.