pub struct LinkSample {
pub id: u64,
pub sent_packets: u64,
pub lost_packets: u64,
pub rtt_ms: u32,
pub relay: bool,
}Expand description
One link’s cumulative counts and path, once a second.
Fields§
§id: u64§sent_packets: u64§lost_packets: u64§rtt_ms: u32§relay: boolTrait Implementations§
Source§impl Clone for LinkSample
impl Clone for LinkSample
impl Copy for LinkSample
Auto Trait Implementations§
impl Forget for LinkSample
impl Freeze for LinkSample
impl Move for LinkSample
impl RefUnwindSafe for LinkSample
impl Send for LinkSample
impl Sync for LinkSample
impl Unpin for LinkSample
impl UnsafeUnpin for LinkSample
impl UnwindSafe for LinkSample
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