Struct iroh_blobs::provider::TransferStats
source · pub struct TransferStats {
pub send: StreamWriterStats,
pub read: SliceReaderStats,
pub duration: Duration,
}
Expand description
The stats for a transfer of a collection or blob.
Fields§
§send: StreamWriterStats
Stats for sending to the client.
read: SliceReaderStats
Stats for reading from disk.
duration: Duration
The total duration of the transfer.
Trait Implementations§
source§impl Clone for TransferStats
impl Clone for TransferStats
source§fn clone(&self) -> TransferStats
fn clone(&self) -> TransferStats
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 TransferStats
impl Debug for TransferStats
source§impl Default for TransferStats
impl Default for TransferStats
source§fn default() -> TransferStats
fn default() -> TransferStats
Returns the “default value” for a type. Read more
impl Copy for TransferStats
Auto Trait Implementations§
impl Freeze for TransferStats
impl RefUnwindSafe for TransferStats
impl Send for TransferStats
impl Sync for TransferStats
impl Unpin for TransferStats
impl UnwindSafe for TransferStats
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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