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