Struct smoltcp::wire::SixlowpanExtHeaderPacket [−][src]
Expand description
A read/write wrapper around a LOWPAN_NHC Next Header frame buffer.
Implementations
Input a raw octet buffer with a LOWPAN_NHC Extension Header frame structure.
Shorthand for a combination of new_unchecked and check_len.
Ensure that no accessor method will panic if called.
Returns Err(Error::Truncated)
if the buffer is too short.
Consumes the frame, returning the underlying buffer.
Return the Extension Header ID.
Return the length field.
Parse the next header field.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for ExtensionHeaderPacket<T> where
T: RefUnwindSafe,
impl<T> Send for ExtensionHeaderPacket<T> where
T: Send,
impl<T> Sync for ExtensionHeaderPacket<T> where
T: Sync,
impl<T> Unpin for ExtensionHeaderPacket<T> where
T: Unpin,
impl<T> UnwindSafe for ExtensionHeaderPacket<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more