[][src]Struct s3_algo::RequestReport

pub struct RequestReport {
    pub seq: usize,
    pub bytes: u64,
    pub total_time: Duration,
    pub success_time: Duration,
    pub attempts: usize,
    pub est: f64,
}

Result of a single S3 request.

Fields

seq: usize

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

bytes: u64

Size in bytes of any file or object involved in this request (0 if not applicable)

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 bytes/ms upload speed at the initiation of the upload of this file. Useful for debugging the upload algorithm and not much more

Trait Implementations

impl Clone for RequestReport[src]

impl Copy for RequestReport[src]

impl Debug for RequestReport[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.