Struct virtio_sys::virtio_net::virtio_net_stats_tx_basic
source · #[repr(C)]pub struct virtio_net_stats_tx_basic {
pub hdr: virtio_net_stats_reply_hdr,
pub tx_notifications: __le64,
pub tx_packets: __le64,
pub tx_bytes: __le64,
pub tx_interrupts: __le64,
pub tx_drops: __le64,
pub tx_drop_malformed: __le64,
}
Fields§
§hdr: virtio_net_stats_reply_hdr
§tx_notifications: __le64
§tx_packets: __le64
§tx_bytes: __le64
§tx_interrupts: __le64
§tx_drops: __le64
§tx_drop_malformed: __le64
Trait Implementations§
source§impl Clone for virtio_net_stats_tx_basic
impl Clone for virtio_net_stats_tx_basic
source§fn clone(&self) -> virtio_net_stats_tx_basic
fn clone(&self) -> virtio_net_stats_tx_basic
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 moresource§impl Debug for virtio_net_stats_tx_basic
impl Debug for virtio_net_stats_tx_basic
source§impl Default for virtio_net_stats_tx_basic
impl Default for virtio_net_stats_tx_basic
source§fn default() -> virtio_net_stats_tx_basic
fn default() -> virtio_net_stats_tx_basic
Returns the “default value” for a type. Read more
impl Copy for virtio_net_stats_tx_basic
Auto Trait Implementations§
impl RefUnwindSafe for virtio_net_stats_tx_basic
impl Send for virtio_net_stats_tx_basic
impl Sync for virtio_net_stats_tx_basic
impl Unpin for virtio_net_stats_tx_basic
impl UnwindSafe for virtio_net_stats_tx_basic
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