pub struct ListenerStats {
pub malformed: u64,
pub stray: u64,
pub bad_cookie: u64,
pub rate_limited: u64,
pub rejected: u64,
}Expand description
Datagrams the listener threw away, by kind.
Fields§
§malformed: u64Datagrams over 1500 bytes or that did not parse as a packet.
stray: u64For no connection, or from the wrong address.
Conclusion handshakes whose SYN cookie was wrong or stale.
rate_limited: u64Handshakes ignored because the handshake allowance was used up.
rejected: u64Callers refused with a rejection handshake, by the listener or by the application.
Trait Implementations§
Source§impl Clone for ListenerStats
impl Clone for ListenerStats
impl Copy for ListenerStats
Source§impl Debug for ListenerStats
impl Debug for ListenerStats
Source§impl Default for ListenerStats
impl Default for ListenerStats
impl Eq for ListenerStats
Source§impl PartialEq for ListenerStats
impl PartialEq for ListenerStats
impl StructuralPartialEq for ListenerStats
Auto Trait Implementations§
impl Freeze for ListenerStats
impl RefUnwindSafe for ListenerStats
impl Send for ListenerStats
impl Sync for ListenerStats
impl Unpin for ListenerStats
impl UnsafeUnpin for ListenerStats
impl UnwindSafe for ListenerStats
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