pub struct InterfaceErrors {
pub rx_errors: u64,
pub tx_errors: u64,
pub rx_dropped: u64,
pub tx_dropped: u64,
}Expand description
Error and drop counters.
Fields§
§rx_errors: u64Receive errors since boot.
tx_errors: u64Transmit errors since boot.
rx_dropped: u64Receive drops since boot.
tx_dropped: u64Transmit drops since boot.
Implementations§
Trait Implementations§
Source§impl Clone for InterfaceErrors
impl Clone for InterfaceErrors
Source§fn clone(&self) -> InterfaceErrors
fn clone(&self) -> InterfaceErrors
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InterfaceErrors
Source§impl Debug for InterfaceErrors
impl Debug for InterfaceErrors
Source§impl Default for InterfaceErrors
impl Default for InterfaceErrors
Source§fn default() -> InterfaceErrors
fn default() -> InterfaceErrors
Returns the “default value” for a type. Read more
impl Eq for InterfaceErrors
Source§impl PartialEq for InterfaceErrors
impl PartialEq for InterfaceErrors
impl StructuralPartialEq for InterfaceErrors
Auto Trait Implementations§
impl Freeze for InterfaceErrors
impl RefUnwindSafe for InterfaceErrors
impl Send for InterfaceErrors
impl Sync for InterfaceErrors
impl Unpin for InterfaceErrors
impl UnsafeUnpin for InterfaceErrors
impl UnwindSafe for InterfaceErrors
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