Type Alias OwnedFrame
Source pub type OwnedFrame = Frame<'static>;
Expand description
Represents a frame whose lifetime is static
pub struct OwnedFrame { }
Consumes an array of bytes and returns a Frame
with an owned item of those bytes
allocated as a Vec
.
Consumes a Vec
of bytes and returns a Frame
with an owned item of those bytes.