pub struct TransportMetrics {
pub received_bytes: u64,
pub sent_bytes: u64,
pub receive_queue: usize,
pub paths: Vec<PeerPath>,
pub paths_limited: bool,
}Expand description
Local endpoint counters. These include transport overhead and retransmission, not application delivery receipts. They reset when the endpoint is opened.
Fields§
§received_bytes: u64§sent_bytes: u64§receive_queue: usize§paths: Vec<PeerPath>§paths_limited: boolTrait Implementations§
Source§impl Debug for TransportMetrics
impl Debug for TransportMetrics
Auto Trait Implementations§
impl Forget for TransportMetrics
impl Freeze for TransportMetrics
impl Move for TransportMetrics
impl RefUnwindSafe for TransportMetrics
impl Send for TransportMetrics
impl Sync for TransportMetrics
impl Unpin for TransportMetrics
impl UnsafeUnpin for TransportMetrics
impl UnwindSafe for TransportMetrics
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