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 duplicate 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 Freeze for RequestReport
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.