pub struct UdpStats {
pub active_sockets: usize,
pub datagrams_queued: usize,
pub datagrams_sent: u64,
pub datagrams_recv: u64,
pub datagrams_dropped: u64,
}Expand description
UDP statistics
Fields§
§active_sockets: usize§datagrams_queued: usize§datagrams_sent: u64§datagrams_recv: u64§datagrams_dropped: u64Trait Implementations§
impl Copy for UdpStats
Auto Trait Implementations§
impl Freeze for UdpStats
impl RefUnwindSafe for UdpStats
impl Send for UdpStats
impl Sync for UdpStats
impl Unpin for UdpStats
impl UnwindSafe for UdpStats
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)