Struct iroh_bytes::get::Stats
source · pub struct Stats {
pub bytes_written: u64,
pub bytes_read: u64,
pub elapsed: Duration,
}Expand description
Stats about the transfer.
Fields§
§bytes_written: u64The number of bytes written
bytes_read: u64The number of bytes read
elapsed: DurationThe time it took to transfer the data
Implementations§
Trait Implementations§
source§impl PartialEq for Stats
impl PartialEq for Stats
impl Eq for Stats
impl StructuralEq for Stats
impl StructuralPartialEq for Stats
Auto Trait Implementations§
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