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