#[repr(C)]pub struct sg_network_io_stats {
pub interface_name: *mut c_char,
pub tx: c_ulonglong,
pub rx: c_ulonglong,
pub ipackets: c_ulonglong,
pub opackets: c_ulonglong,
pub ierrors: c_ulonglong,
pub oerrors: c_ulonglong,
pub collisions: c_ulonglong,
pub systime: time_t,
}Fields§
§interface_name: *mut c_char§tx: c_ulonglong§rx: c_ulonglong§ipackets: c_ulonglong§opackets: c_ulonglong§ierrors: c_ulonglong§oerrors: c_ulonglong§collisions: c_ulonglong§systime: time_tTrait Implementations§
Source§impl Clone for sg_network_io_stats
impl Clone for sg_network_io_stats
Source§fn clone(&self) -> sg_network_io_stats
fn clone(&self) -> sg_network_io_stats
Returns a duplicate 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 moreSource§impl Debug for sg_network_io_stats
impl Debug for sg_network_io_stats
impl Copy for sg_network_io_stats
Auto Trait Implementations§
impl Freeze for sg_network_io_stats
impl RefUnwindSafe for sg_network_io_stats
impl !Send for sg_network_io_stats
impl !Sync for sg_network_io_stats
impl Unpin for sg_network_io_stats
impl UnwindSafe for sg_network_io_stats
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