pub struct FrameErrorCount {
pub overrun_error_count: u32,
pub framing_error_count: u32,
}
Fields§
§overrun_error_count: u32
§framing_error_count: u32
Trait Implementations§
Source§impl Clone for FrameErrorCount
impl Clone for FrameErrorCount
Source§fn clone(&self) -> FrameErrorCount
fn clone(&self) -> FrameErrorCount
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 FrameErrorCount
impl Debug for FrameErrorCount
Source§impl Default for FrameErrorCount
impl Default for FrameErrorCount
Source§fn default() -> FrameErrorCount
fn default() -> FrameErrorCount
Returns the “default value” for a type. Read more
Source§impl FromByteSlice for FrameErrorCount
impl FromByteSlice for FrameErrorCount
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]) -> FrameErrorCount
fn from_le_byte_slice(bytes: &[u8]) -> FrameErrorCount
Deserialize the implementing type from a byte slice.
Source§impl Hash for FrameErrorCount
impl Hash for FrameErrorCount
Source§impl PartialEq for FrameErrorCount
impl PartialEq for FrameErrorCount
impl Copy for FrameErrorCount
impl Eq for FrameErrorCount
impl StructuralPartialEq for FrameErrorCount
Auto Trait Implementations§
impl Freeze for FrameErrorCount
impl RefUnwindSafe for FrameErrorCount
impl Send for FrameErrorCount
impl Sync for FrameErrorCount
impl Unpin for FrameErrorCount
impl UnwindSafe for FrameErrorCount
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