pub struct WriteMultipleRegistersResponse {
pub address: Address,
pub quantity: Quantity,
}Expand description
Response to a Write Multiple Registers request (FC 0x10).
Fields§
§address: AddressStarting address of registers that were written.
quantity: QuantityNumber of registers that were written.
Implementations§
Trait Implementations§
Source§impl Encode for WriteMultipleRegistersResponse
impl Encode for WriteMultipleRegistersResponse
Source§fn encode_into(&self, buf: &mut [u8]) -> Result<usize, EncodeError>
fn encode_into(&self, buf: &mut [u8]) -> Result<usize, EncodeError>
Write the full PDU (function code + data) into
buf. Read moreSource§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Total encoded length in bytes (including the function code byte).
Auto Trait Implementations§
impl Freeze for WriteMultipleRegistersResponse
impl RefUnwindSafe for WriteMultipleRegistersResponse
impl Send for WriteMultipleRegistersResponse
impl Sync for WriteMultipleRegistersResponse
impl Unpin for WriteMultipleRegistersResponse
impl UnsafeUnpin for WriteMultipleRegistersResponse
impl UnwindSafe for WriteMultipleRegistersResponse
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