pub struct NewChunkStats {
pub calls: usize,
pub latency: Option<Duration>,
}Expand description
Statistics for a new chunk.
Fields§
§calls: usizeThe number of network calls made to find a new chunk.
latency: Option<Duration>The latency between when a chunk was uploaded to S3 and when it was downloaded.
Trait Implementations§
Source§impl Clone for NewChunkStats
impl Clone for NewChunkStats
Source§fn clone(&self) -> NewChunkStats
fn clone(&self) -> NewChunkStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NewChunkStats
impl Debug for NewChunkStats
Source§impl Hash for NewChunkStats
impl Hash for NewChunkStats
Source§impl PartialEq for NewChunkStats
impl PartialEq for NewChunkStats
Source§fn eq(&self, other: &NewChunkStats) -> bool
fn eq(&self, other: &NewChunkStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for NewChunkStats
impl Eq for NewChunkStats
impl StructuralPartialEq for NewChunkStats
Auto Trait Implementations§
impl Freeze for NewChunkStats
impl RefUnwindSafe for NewChunkStats
impl Send for NewChunkStats
impl Sync for NewChunkStats
impl Unpin for NewChunkStats
impl UnsafeUnpin for NewChunkStats
impl UnwindSafe for NewChunkStats
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.