Struct libp2p_perf::Intermediate
source · pub struct Intermediate {
pub duration: Duration,
pub sent: usize,
pub received: usize,
}
Fields§
§duration: Duration
§sent: usize
§received: usize
Trait Implementations§
source§impl Clone for Intermediate
impl Clone for Intermediate
source§fn clone(&self) -> Intermediate
fn clone(&self) -> Intermediate
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 Intermediate
impl Debug for Intermediate
source§impl Display for Intermediate
impl Display for Intermediate
impl Copy for Intermediate
Auto Trait Implementations§
impl RefUnwindSafe for Intermediate
impl Send for Intermediate
impl Sync for Intermediate
impl Unpin for Intermediate
impl UnwindSafe for Intermediate
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