Struct netperf::common::control::StreamStats
source · pub struct StreamStats {
pub sender: bool,
pub duration_millis: u64,
pub bytes_transferred: usize,
pub syscalls: usize,
}Fields§
§sender: bool§duration_millis: u64§bytes_transferred: usize§syscalls: usizeTrait Implementations§
source§impl Clone for StreamStats
impl Clone for StreamStats
source§fn clone(&self) -> StreamStats
fn clone(&self) -> StreamStats
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 StreamStats
impl Debug for StreamStats
source§impl<'de> Deserialize<'de> for StreamStats
impl<'de> Deserialize<'de> for StreamStats
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 PartialEq<StreamStats> for StreamStats
impl PartialEq<StreamStats> for StreamStats
source§fn eq(&self, other: &StreamStats) -> bool
fn eq(&self, other: &StreamStats) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for StreamStats
impl Serialize for StreamStats
impl Eq for StreamStats
impl StructuralEq for StreamStats
impl StructuralPartialEq for StreamStats
Auto Trait Implementations§
impl RefUnwindSafe for StreamStats
impl Send for StreamStats
impl Sync for StreamStats
impl Unpin for StreamStats
impl UnwindSafe for StreamStats
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