pub struct ModbusMasterReadHoldingRegistersResponseLowLevelEvent {
pub request_id: u8,
pub exception_code: i8,
pub holding_registers_length: u16,
pub holding_registers_chunk_offset: u16,
pub holding_registers_chunk_data: [u16; 29],
}
Fields
request_id: u8
exception_code: i8
holding_registers_length: u16
holding_registers_chunk_offset: u16
holding_registers_chunk_data: [u16; 29]
Trait Implementations
sourceimpl Clone for ModbusMasterReadHoldingRegistersResponseLowLevelEvent
impl Clone for ModbusMasterReadHoldingRegistersResponseLowLevelEvent
sourcefn clone(&self) -> ModbusMasterReadHoldingRegistersResponseLowLevelEvent
fn clone(&self) -> ModbusMasterReadHoldingRegistersResponseLowLevelEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for ModbusMasterReadHoldingRegistersResponseLowLevelEvent
impl Default for ModbusMasterReadHoldingRegistersResponseLowLevelEvent
sourcefn default() -> ModbusMasterReadHoldingRegistersResponseLowLevelEvent
fn default() -> ModbusMasterReadHoldingRegistersResponseLowLevelEvent
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for ModbusMasterReadHoldingRegistersResponseLowLevelEvent
impl FromByteSlice for ModbusMasterReadHoldingRegistersResponseLowLevelEvent
sourcefn 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.
sourcefn from_le_bytes(
bytes: &[u8]
) -> ModbusMasterReadHoldingRegistersResponseLowLevelEvent
fn from_le_bytes(
bytes: &[u8]
) -> ModbusMasterReadHoldingRegistersResponseLowLevelEvent
Deserialize the implementing type from a byte slice.
sourceimpl LowLevelRead<u16, ModbusMasterReadHoldingRegistersResponseResult> for ModbusMasterReadHoldingRegistersResponseLowLevelEvent
impl LowLevelRead<u16, ModbusMasterReadHoldingRegistersResponseResult> for ModbusMasterReadHoldingRegistersResponseLowLevelEvent
fn ll_message_length(&self) -> usize
fn ll_message_chunk_offset(&self) -> usize
fn ll_message_chunk_data(&self) -> &[u16]
fn get_result(&self) -> ModbusMasterReadHoldingRegistersResponseResult
sourceimpl PartialEq<ModbusMasterReadHoldingRegistersResponseLowLevelEvent> for ModbusMasterReadHoldingRegistersResponseLowLevelEvent
impl PartialEq<ModbusMasterReadHoldingRegistersResponseLowLevelEvent> for ModbusMasterReadHoldingRegistersResponseLowLevelEvent
sourcefn eq(
&self,
other: &ModbusMasterReadHoldingRegistersResponseLowLevelEvent
) -> bool
fn eq(
&self,
other: &ModbusMasterReadHoldingRegistersResponseLowLevelEvent
) -> bool
impl Copy for ModbusMasterReadHoldingRegistersResponseLowLevelEvent
impl Eq for ModbusMasterReadHoldingRegistersResponseLowLevelEvent
impl StructuralEq for ModbusMasterReadHoldingRegistersResponseLowLevelEvent
impl StructuralPartialEq for ModbusMasterReadHoldingRegistersResponseLowLevelEvent
Auto Trait Implementations
impl RefUnwindSafe for ModbusMasterReadHoldingRegistersResponseLowLevelEvent
impl Send for ModbusMasterReadHoldingRegistersResponseLowLevelEvent
impl Sync for ModbusMasterReadHoldingRegistersResponseLowLevelEvent
impl Unpin for ModbusMasterReadHoldingRegistersResponseLowLevelEvent
impl UnwindSafe for ModbusMasterReadHoldingRegistersResponseLowLevelEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more