pub struct SocketStats {
pub tcp_sockets_in_use: usize,
pub tcp_sockets_orphaned: usize,
pub udp_sockets_in_use: usize,
pub tcp6_sockets_in_use: usize,
pub udp6_sockets_in_use: usize,
}
Fields§
§tcp_sockets_in_use: usize
§tcp_sockets_orphaned: usize
§udp_sockets_in_use: usize
§tcp6_sockets_in_use: usize
§udp6_sockets_in_use: usize
Trait Implementations§
Source§impl Clone for SocketStats
impl Clone for SocketStats
Source§fn clone(&self) -> SocketStats
fn clone(&self) -> SocketStats
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for SocketStats
impl RefUnwindSafe for SocketStats
impl Send for SocketStats
impl Sync for SocketStats
impl Unpin for SocketStats
impl UnwindSafe for SocketStats
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