pub struct UdpSocketStats {
pub packets_sent: u64,
pub packets_received: u64,
pub bytes_sent: u64,
pub bytes_received: u64,
}Expand description
Public UDP socket statistics
Fields§
§packets_sent: u64Datagrams sent.
packets_received: u64Datagrams received.
bytes_sent: u64Bytes sent.
bytes_received: u64Bytes received.
Trait Implementations§
Source§impl Clone for UdpSocketStats
impl Clone for UdpSocketStats
Auto Trait Implementations§
impl Freeze for UdpSocketStats
impl RefUnwindSafe for UdpSocketStats
impl Send for UdpSocketStats
impl Sync for UdpSocketStats
impl Unpin for UdpSocketStats
impl UnsafeUnpin for UdpSocketStats
impl UnwindSafe for UdpSocketStats
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