pub enum SixlowpanNhcPacket {
ExtHeader,
UdpHeader,
}Expand description
A read/write wrapper around a 6LoWPAN_NHC Header. RFC 6282 § 4.2 specifies the format of the header.
The header has the following format:
0 1 2 3 4 5 6 7
+---+---+---+---+---+---+---+---+
| 1 | 1 | 1 | 0 | EID |NH |
+---+---+---+---+---+---+---+---+With:
- EID: the extension header ID
- NH: Next Header
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NhcPacket
impl RefUnwindSafe for NhcPacket
impl Send for NhcPacket
impl Sync for NhcPacket
impl Unpin for NhcPacket
impl UnwindSafe for NhcPacket
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