pub struct LossSample {
pub sent: u64,
pub received: u64,
pub outstanding: u64,
}Expand description
Cumulative loss-probe progress.
Fields§
§sent: u64Probes sent so far.
received: u64Echoes received so far.
outstanding: u64Sent probes which have not yet produced a unique echo.
Trait Implementations§
Source§impl Clone for LossSample
impl Clone for LossSample
Source§fn clone(&self) -> LossSample
fn clone(&self) -> LossSample
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 LossSample
impl Debug for LossSample
Source§impl<'de> Deserialize<'de> for LossSample
impl<'de> Deserialize<'de> for LossSample
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 for LossSample
impl PartialEq for LossSample
Source§impl Serialize for LossSample
impl Serialize for LossSample
impl StructuralPartialEq for LossSample
Auto Trait Implementations§
impl Freeze for LossSample
impl RefUnwindSafe for LossSample
impl Send for LossSample
impl Sync for LossSample
impl Unpin for LossSample
impl UnsafeUnpin for LossSample
impl UnwindSafe for LossSample
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