pub struct NetStat {
pub interfaces: Option<NetMap>,
pub tcp: Option<TcpStat>,
pub tcp_ext: Option<TcpExtStat>,
pub ip: Option<IpStat>,
pub ip_ext: Option<IpExtStat>,
pub ip6: Option<Ip6Stat>,
pub icmp: Option<IcmpStat>,
pub icmp6: Option<Icmp6Stat>,
pub udp: Option<UdpStat>,
pub udp6: Option<Udp6Stat>,
}
Fields§
§interfaces: Option<NetMap>
§tcp: Option<TcpStat>
§tcp_ext: Option<TcpExtStat>
§ip: Option<IpStat>
§ip_ext: Option<IpExtStat>
§ip6: Option<Ip6Stat>
§icmp: Option<IcmpStat>
§icmp6: Option<Icmp6Stat>
§udp: Option<UdpStat>
§udp6: Option<Udp6Stat>
Trait Implementations§
source§impl<'de> Deserialize<'de> for NetStat
impl<'de> Deserialize<'de> for NetStat
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for NetStat
impl PartialEq for NetStat
impl StructuralPartialEq for NetStat
Auto Trait Implementations§
impl Freeze for NetStat
impl RefUnwindSafe for NetStat
impl Send for NetStat
impl Sync for NetStat
impl Unpin for NetStat
impl UnwindSafe for NetStat
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