Type Definition distant_net::common::OwnedFrame

source ·
pub type OwnedFrame = Frame<'static>;
Expand description

Represents a frame whose lifetime is static

Trait Implementations

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.