Struct tinkerforge::dmx_bricklet::FrameErrorCountEvent
source · pub struct FrameErrorCountEvent {
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 FrameErrorCountEvent
impl Clone for FrameErrorCountEvent
source§fn clone(&self) -> FrameErrorCountEvent
fn clone(&self) -> FrameErrorCountEvent
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 FrameErrorCountEvent
impl Debug for FrameErrorCountEvent
source§impl Default for FrameErrorCountEvent
impl Default for FrameErrorCountEvent
source§fn default() -> FrameErrorCountEvent
fn default() -> FrameErrorCountEvent
Returns the “default value” for a type. Read more
source§impl FromByteSlice for FrameErrorCountEvent
impl FromByteSlice for FrameErrorCountEvent
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]) -> FrameErrorCountEvent
fn from_le_byte_slice(bytes: &[u8]) -> FrameErrorCountEvent
Deserialize the implementing type from a byte slice.
source§impl Hash for FrameErrorCountEvent
impl Hash for FrameErrorCountEvent
source§impl PartialEq for FrameErrorCountEvent
impl PartialEq for FrameErrorCountEvent
source§fn eq(&self, other: &FrameErrorCountEvent) -> bool
fn eq(&self, other: &FrameErrorCountEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FrameErrorCountEvent
impl Eq for FrameErrorCountEvent
impl StructuralPartialEq for FrameErrorCountEvent
Auto Trait Implementations§
impl RefUnwindSafe for FrameErrorCountEvent
impl Send for FrameErrorCountEvent
impl Sync for FrameErrorCountEvent
impl Unpin for FrameErrorCountEvent
impl UnwindSafe for FrameErrorCountEvent
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