Struct tinkerforge::can_v2_bricklet::ErrorLogLowLevel
source · pub struct ErrorLogLowLevel {Show 14 fields
pub transceiver_state: u8,
pub transceiver_write_error_level: u8,
pub transceiver_read_error_level: u8,
pub transceiver_stuffing_error_count: u32,
pub transceiver_format_error_count: u32,
pub transceiver_ack_error_count: u32,
pub transceiver_bit1_error_count: u32,
pub transceiver_bit0_error_count: u32,
pub transceiver_crc_error_count: u32,
pub write_buffer_timeout_error_count: u32,
pub read_buffer_overflow_error_count: u32,
pub read_buffer_overflow_error_occurred_length: u8,
pub read_buffer_overflow_error_occurred_data: [bool; 32],
pub read_backlog_overflow_error_count: u32,
}
Fields§
§transceiver_state: u8
§transceiver_write_error_level: u8
§transceiver_read_error_level: u8
§transceiver_stuffing_error_count: u32
§transceiver_format_error_count: u32
§transceiver_ack_error_count: u32
§transceiver_bit1_error_count: u32
§transceiver_bit0_error_count: u32
§transceiver_crc_error_count: u32
§write_buffer_timeout_error_count: u32
§read_buffer_overflow_error_count: u32
§read_buffer_overflow_error_occurred_length: u8
§read_buffer_overflow_error_occurred_data: [bool; 32]
§read_backlog_overflow_error_count: u32
Trait Implementations§
source§impl Clone for ErrorLogLowLevel
impl Clone for ErrorLogLowLevel
source§fn clone(&self) -> ErrorLogLowLevel
fn clone(&self) -> ErrorLogLowLevel
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 ErrorLogLowLevel
impl Debug for ErrorLogLowLevel
source§impl Default for ErrorLogLowLevel
impl Default for ErrorLogLowLevel
source§fn default() -> ErrorLogLowLevel
fn default() -> ErrorLogLowLevel
Returns the “default value” for a type. Read more
source§impl FromByteSlice for ErrorLogLowLevel
impl FromByteSlice for ErrorLogLowLevel
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]) -> ErrorLogLowLevel
fn from_le_byte_slice(bytes: &[u8]) -> ErrorLogLowLevel
Deserialize the implementing type from a byte slice.
source§impl Hash for ErrorLogLowLevel
impl Hash for ErrorLogLowLevel
source§impl LowLevelRead<bool, ErrorLogResult> for ErrorLogLowLevel
impl LowLevelRead<bool, ErrorLogResult> for ErrorLogLowLevel
fn ll_message_length(&self) -> usize
fn ll_message_chunk_offset(&self) -> usize
fn ll_message_chunk_data(&self) -> &[bool]
fn get_result(&self) -> ErrorLogResult
source§impl PartialEq for ErrorLogLowLevel
impl PartialEq for ErrorLogLowLevel
source§fn eq(&self, other: &ErrorLogLowLevel) -> bool
fn eq(&self, other: &ErrorLogLowLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ErrorLogLowLevel
impl Eq for ErrorLogLowLevel
impl StructuralPartialEq for ErrorLogLowLevel
Auto Trait Implementations§
impl RefUnwindSafe for ErrorLogLowLevel
impl Send for ErrorLogLowLevel
impl Sync for ErrorLogLowLevel
impl Unpin for ErrorLogLowLevel
impl UnwindSafe for ErrorLogLowLevel
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