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: 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§
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 moresource§impl Debug for RequestReport
impl Debug for RequestReport
impl Copy for RequestReport
Auto Trait Implementations§
impl RefUnwindSafe for RequestReport
impl Send for RequestReport
impl Sync for RequestReport
impl Unpin for RequestReport
impl UnwindSafe for RequestReport
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.