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