pub struct ConnectionDetectionEvent {
pub local_address: SocketAddress,
pub remote_address: SocketAddress,
pub interface_index: u64,
pub pid: u64,
pub recv_buffer_size: u64,
pub recv_buffer_used: u64,
pub serial_number: u64,
pub kind: u64,
}Fields§
§local_address: SocketAddress§remote_address: SocketAddress§interface_index: u64§pid: u64§recv_buffer_size: u64§recv_buffer_used: u64§serial_number: u64§kind: u64Trait Implementations§
Source§impl Clone for ConnectionDetectionEvent
impl Clone for ConnectionDetectionEvent
Source§fn clone(&self) -> ConnectionDetectionEvent
fn clone(&self) -> ConnectionDetectionEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConnectionDetectionEvent
impl Debug for ConnectionDetectionEvent
Source§impl PartialEq for ConnectionDetectionEvent
impl PartialEq for ConnectionDetectionEvent
Source§fn eq(&self, other: &ConnectionDetectionEvent) -> bool
fn eq(&self, other: &ConnectionDetectionEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ConnectionDetectionEvent
impl Serialize for ConnectionDetectionEvent
impl Eq for ConnectionDetectionEvent
impl StructuralPartialEq for ConnectionDetectionEvent
Auto Trait Implementations§
impl Freeze for ConnectionDetectionEvent
impl RefUnwindSafe for ConnectionDetectionEvent
impl Send for ConnectionDetectionEvent
impl Sync for ConnectionDetectionEvent
impl Unpin for ConnectionDetectionEvent
impl UnsafeUnpin for ConnectionDetectionEvent
impl UnwindSafe for ConnectionDetectionEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.