pub struct SlaveAddress(/* private fields */);Expand description
Represents a Modbus slave address for RTU/ASCII messages.
Implementations§
Trait Implementations§
Source§impl Clone for SlaveAddress
impl Clone for SlaveAddress
Source§fn clone(&self) -> SlaveAddress
fn clone(&self) -> SlaveAddress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SlaveAddress
Source§impl Debug for SlaveAddress
impl Debug for SlaveAddress
impl Eq for SlaveAddress
Source§impl PartialEq for SlaveAddress
impl PartialEq for SlaveAddress
Source§fn eq(&self, other: &SlaveAddress) -> bool
fn eq(&self, other: &SlaveAddress) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SlaveAddress
Auto Trait Implementations§
impl Freeze for SlaveAddress
impl RefUnwindSafe for SlaveAddress
impl Send for SlaveAddress
impl Sync for SlaveAddress
impl Unpin for SlaveAddress
impl UnsafeUnpin for SlaveAddress
impl UnwindSafe for SlaveAddress
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