Struct smoltcp::wire::SixlowpanUdpPacket [−][src]
Expand description
A read/write wrapper around a 6LoWPAN_NHC_UDP frame buffer.
Implementations
Input a raw octet buffer with a LOWPAN_NHC frame structure for UDP.
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.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for UdpPacket<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for UdpPacket<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more