pub struct ErrorCount {
pub overrun_error_count: u32,
pub parity_error_count: u32,
}
Fields§
§overrun_error_count: u32
§parity_error_count: u32
Trait Implementations§
Source§impl Clone for ErrorCount
impl Clone for ErrorCount
Source§fn clone(&self) -> ErrorCount
fn clone(&self) -> ErrorCount
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 ErrorCount
impl Debug for ErrorCount
Source§impl Default for ErrorCount
impl Default for ErrorCount
Source§fn default() -> ErrorCount
fn default() -> ErrorCount
Returns the “default value” for a type. Read more
Source§impl FromByteSlice for ErrorCount
impl FromByteSlice for ErrorCount
Source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
Source§fn from_le_byte_slice(bytes: &[u8]) -> ErrorCount
fn from_le_byte_slice(bytes: &[u8]) -> ErrorCount
Deserialize the implementing type from a byte slice.
Source§impl Hash for ErrorCount
impl Hash for ErrorCount
Source§impl PartialEq for ErrorCount
impl PartialEq for ErrorCount
impl Copy for ErrorCount
impl Eq for ErrorCount
impl StructuralPartialEq for ErrorCount
Auto Trait Implementations§
impl Freeze for ErrorCount
impl RefUnwindSafe for ErrorCount
impl Send for ErrorCount
impl Sync for ErrorCount
impl Unpin for ErrorCount
impl UnwindSafe for ErrorCount
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