pub enum Address {
NbId(u8),
NoId,
Uid([u8; 8]),
Vid([u8; 2]),
}
Expand description
Dash7 device address
Variants§
NbId(u8)
Broadcast to an estimated number of receivers, encoded in compressed format on a byte.
NoId
Broadcast to everyone
Uid([u8; 8])
Unicast to target via its UID (Unique Dash7 ID)
Vid([u8; 2])
Unicast to target via its VID (Virtual ID)
Implementations§
Trait Implementations§
source§impl PartialEq for Address
impl PartialEq for Address
impl StructuralPartialEq for Address
Auto Trait Implementations§
impl Freeze for Address
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnwindSafe for Address
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