Struct modbus_core::rtu::ResponseAdu
source · pub struct ResponseAdu<'r> {
pub hdr: Header,
pub pdu: ResponsePdu<'r>,
}
Expand description
RTU Response ADU
Fields§
§hdr: Header
§pdu: ResponsePdu<'r>
Trait Implementations§
source§impl<'r> Clone for ResponseAdu<'r>
impl<'r> Clone for ResponseAdu<'r>
source§fn clone(&self) -> ResponseAdu<'r>
fn clone(&self) -> ResponseAdu<'r>
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<'r> Debug for ResponseAdu<'r>
impl<'r> Debug for ResponseAdu<'r>
source§impl<'r> PartialEq for ResponseAdu<'r>
impl<'r> PartialEq for ResponseAdu<'r>
source§fn eq(&self, other: &ResponseAdu<'r>) -> bool
fn eq(&self, other: &ResponseAdu<'r>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'r> Copy for ResponseAdu<'r>
impl<'r> Eq for ResponseAdu<'r>
impl<'r> StructuralPartialEq for ResponseAdu<'r>
Auto Trait Implementations§
impl<'r> Freeze for ResponseAdu<'r>
impl<'r> RefUnwindSafe for ResponseAdu<'r>
impl<'r> Send for ResponseAdu<'r>
impl<'r> Sync for ResponseAdu<'r>
impl<'r> Unpin for ResponseAdu<'r>
impl<'r> UnwindSafe for ResponseAdu<'r>
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