pub struct PushRtnlLinkStats64 { /* private fields */ }Available on crate feature
rt-link only.Implementations§
Source§impl PushRtnlLinkStats64
impl PushRtnlLinkStats64
Sourcepub fn new_from_slice(other: &[u8]) -> Option<Self>
pub fn new_from_slice(other: &[u8]) -> Option<Self>
Copy from contents from other slice
pub fn as_slice(&self) -> &[u8] ⓘ
pub fn as_mut_slice(&mut self) -> &mut [u8] ⓘ
pub const fn len() -> usize
pub fn rx_packets(&self) -> u64
pub fn set_rx_packets(&mut self, value: u64)
pub fn tx_packets(&self) -> u64
pub fn set_tx_packets(&mut self, value: u64)
pub fn rx_bytes(&self) -> u64
pub fn set_rx_bytes(&mut self, value: u64)
pub fn tx_bytes(&self) -> u64
pub fn set_tx_bytes(&mut self, value: u64)
pub fn rx_errors(&self) -> u64
pub fn set_rx_errors(&mut self, value: u64)
pub fn tx_errors(&self) -> u64
pub fn set_tx_errors(&mut self, value: u64)
pub fn rx_dropped(&self) -> u64
pub fn set_rx_dropped(&mut self, value: u64)
pub fn tx_dropped(&self) -> u64
pub fn set_tx_dropped(&mut self, value: u64)
pub fn multicast(&self) -> u64
pub fn set_multicast(&mut self, value: u64)
pub fn collisions(&self) -> u64
pub fn set_collisions(&mut self, value: u64)
pub fn rx_length_errors(&self) -> u64
pub fn set_rx_length_errors(&mut self, value: u64)
pub fn rx_over_errors(&self) -> u64
pub fn set_rx_over_errors(&mut self, value: u64)
pub fn rx_crc_errors(&self) -> u64
pub fn set_rx_crc_errors(&mut self, value: u64)
pub fn rx_frame_errors(&self) -> u64
pub fn set_rx_frame_errors(&mut self, value: u64)
pub fn rx_fifo_errors(&self) -> u64
pub fn set_rx_fifo_errors(&mut self, value: u64)
pub fn rx_missed_errors(&self) -> u64
pub fn set_rx_missed_errors(&mut self, value: u64)
pub fn tx_aborted_errors(&self) -> u64
pub fn set_tx_aborted_errors(&mut self, value: u64)
pub fn tx_carrier_errors(&self) -> u64
pub fn set_tx_carrier_errors(&mut self, value: u64)
pub fn tx_fifo_errors(&self) -> u64
pub fn set_tx_fifo_errors(&mut self, value: u64)
pub fn tx_heartbeat_errors(&self) -> u64
pub fn set_tx_heartbeat_errors(&mut self, value: u64)
pub fn tx_window_errors(&self) -> u64
pub fn set_tx_window_errors(&mut self, value: u64)
pub fn rx_compressed(&self) -> u64
pub fn set_rx_compressed(&mut self, value: u64)
pub fn tx_compressed(&self) -> u64
pub fn set_tx_compressed(&mut self, value: u64)
pub fn rx_nohandler(&self) -> u64
pub fn set_rx_nohandler(&mut self, value: u64)
pub fn rx_otherhost_dropped(&self) -> u64
pub fn set_rx_otherhost_dropped(&mut self, value: u64)
Trait Implementations§
Source§impl Clone for PushRtnlLinkStats64
impl Clone for PushRtnlLinkStats64
Source§fn clone(&self) -> PushRtnlLinkStats64
fn clone(&self) -> PushRtnlLinkStats64
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 PushRtnlLinkStats64
impl Debug for PushRtnlLinkStats64
Auto Trait Implementations§
impl Freeze for PushRtnlLinkStats64
impl RefUnwindSafe for PushRtnlLinkStats64
impl Send for PushRtnlLinkStats64
impl Sync for PushRtnlLinkStats64
impl Unpin for PushRtnlLinkStats64
impl UnwindSafe for PushRtnlLinkStats64
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