pub struct TcpStats {
pub active_connections: usize,
pub total_bytes_sent: u64,
pub total_bytes_recv: u64,
pub retransmissions: u64,
}Expand description
TCP statistics
Fields§
§active_connections: usize§total_bytes_sent: u64§total_bytes_recv: u64§retransmissions: u64Trait Implementations§
impl Copy for TcpStats
Auto Trait Implementations§
impl Freeze for TcpStats
impl RefUnwindSafe for TcpStats
impl Send for TcpStats
impl Sync for TcpStats
impl Unpin for TcpStats
impl UnwindSafe for TcpStats
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)