Struct smoltcp::wire::ieee802154::Frame [−][src]
Expand description
A read/write wrapper around an IEEE 802.15.4 frame buffer.
Implementations
Input a raw octet buffer with Ethernet 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 FrameType field.
Return the destination addressing mode.
Return the frame version.
Return the source addressing mode.
Return the sequence number of the frame.
Return the destination PAN field.
Return the destination PAN field.
Return the security level of the auxiliary security header.
Return the key identifier mode used by the auxiliary security header.
Return the frame counter field.
Set the frame type.
Set the frame version.
Set the frame sequence number.
Set the destination PAN ID.
Set the destination address.
Set the source PAN ID.
Set the source address.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Frame<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Frame<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more