pub struct UdpStats {
pub packets_sent: AtomicU64,
pub packets_received: AtomicU64,
pub bytes_sent: AtomicU64,
pub bytes_received: AtomicU64,
}Expand description
Statistics for UDP socket operations
Fields§
§packets_sent: AtomicU64Datagrams sent.
packets_received: AtomicU64Datagrams received.
bytes_sent: AtomicU64Bytes sent.
bytes_received: AtomicU64Bytes received.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for UdpStats
impl RefUnwindSafe for UdpStats
impl Send for UdpStats
impl Sync for UdpStats
impl Unpin for UdpStats
impl UnsafeUnpin for UdpStats
impl UnwindSafe for UdpStats
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