pub struct Stats {
pub counters: RequestCounters,
pub elapsed: Duration,
}Expand description
Stats about the transfer.
Fields§
§counters: RequestCountersCounters
elapsed: DurationThe time it took to transfer the data
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Stats
impl<'de> Deserialize<'de> for Stats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Stats> for GetBlobItem
impl From<Stats> for GetBlobItem
Source§impl<'a> TryFrom<&'a GetBlobItem> for &'a Stats
impl<'a> TryFrom<&'a GetBlobItem> for &'a Stats
Source§type Error = &'a GetBlobItem
type Error = &'a GetBlobItem
The type returned in the event of a conversion error.
Source§impl TryFrom<GetBlobItem> for Stats
impl TryFrom<GetBlobItem> for Stats
Source§type Error = GetBlobItem
type Error = GetBlobItem
The type returned in the event of a conversion error.
impl Eq for Stats
impl StructuralPartialEq for Stats
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
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,
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.