pub enum AddressKind {
Unconfigured,
Primary,
PrimaryMasterRepeater,
Reserved,
Secondary,
Test,
Broadcast,
}Expand description
The protocol-defined use of a data-link address.
Variants§
Unconfigured
Address 0, used by unconfigured slaves.
Primary
Configured slave address in the range 1 through 250.
PrimaryMasterRepeater
Address 251, used for primary-master repeater management.
Reserved
Reserved address 252.
Secondary
Address 253, used to address a previously selected slave.
Test
Address 254, used for testing and diagnosis.
Broadcast
Broadcast address 255.
Trait Implementations§
Source§impl Clone for AddressKind
impl Clone for AddressKind
Source§fn clone(&self) -> AddressKind
fn clone(&self) -> AddressKind
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 AddressKind
Source§impl Debug for AddressKind
impl Debug for AddressKind
impl Eq for AddressKind
Source§impl Hash for AddressKind
impl Hash for AddressKind
Source§impl PartialEq for AddressKind
impl PartialEq for AddressKind
impl StructuralPartialEq for AddressKind
Auto Trait Implementations§
impl Freeze for AddressKind
impl RefUnwindSafe for AddressKind
impl Send for AddressKind
impl Sync for AddressKind
impl Unpin for AddressKind
impl UnsafeUnpin for AddressKind
impl UnwindSafe for AddressKind
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