pub enum Address {
Short(PanId, ShortAddress),
Extended(PanId, ExtendedAddress),
}
Expand description
An address that might contain an PAN ID and address
Variants
Short(PanId, ShortAddress)
Short (16-bit) address and PAN ID (16-bit)
Extended(PanId, ExtendedAddress)
Extended (64-bit) address and PAN ID (16-bit)
Implementations
Trait Implementations
sourceimpl From<Address> for AddressMode
impl From<Address> for AddressMode
sourceimpl PartialEq<Address> for Address
impl PartialEq<Address> for Address
impl Copy for Address
impl Eq for Address
impl StructuralEq for Address
impl StructuralPartialEq for Address
Auto Trait Implementations
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnwindSafe for Address
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more