pub struct HostNetIo {
pub bytes_in: u64,
pub pkts_in: u32,
pub errs_in: u32,
pub drops_in: u32,
pub bytes_out: u64,
pub packets_out: u32,
pub errs_out: u32,
pub drops_out: u32,
}Expand description
Host Network I/O - Format (0,2006)
Physical server network I/O statistics
§XDR Definition (sFlow Host)
/* Physical Server Network I/O */
/* opaque = counter_data; enterprise = 0; format = 2006 */
struct host_net_io {
unsigned hyper bytes_in; /* total bytes in */
unsigned int pkts_in; /* total packets in */
unsigned int errs_in; /* total errors in */
unsigned int drops_in; /* total drops in */
unsigned hyper bytes_out; /* total bytes out */
unsigned int packets_out; /* total packets out */
unsigned int errs_out; /* total errors out */
unsigned int drops_out; /* total drops out */
}Fields§
§bytes_in: u64Bytes received
pkts_in: u32Packets received
errs_in: u32Receive errors
drops_in: u32Receive drops
bytes_out: u64Bytes transmitted
packets_out: u32Packets transmitted
errs_out: u32Transmit errors
drops_out: u32Transmit drops
Trait Implementations§
impl Eq for HostNetIo
impl StructuralPartialEq for HostNetIo
Auto Trait Implementations§
impl Freeze for HostNetIo
impl RefUnwindSafe for HostNetIo
impl Send for HostNetIo
impl Sync for HostNetIo
impl Unpin for HostNetIo
impl UnwindSafe for HostNetIo
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