Struct capsules::ieee802154::framer::Frame [] [src]

pub struct Frame {
    buf: &'static mut [u8],
    info: FrameInfo,
}

A Frame wraps a static mutable byte slice and keeps just enough information about its header contents to expose a restricted interface for modifying its payload. This enables the user to abdicate any concerns about where the payload should be placed in the buffer.

Fields

Methods

impl Frame
[src]

[src]

Consumes the frame and retrieves the buffer it wraps

[src]

Calculates how much more data this frame can hold

[src]

Appends payload bytes into the frame if possible

Trait Implementations

impl Eq for Frame
[src]

[src]

impl PartialEq for Frame
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for Frame
[src]

[src]

Formats the value using the given formatter. Read more