Module simple_stream::frame
source · Expand description
The simple_stream::fame
module contains Trait definitions and built-in types for coupling
with a stream type to provide a structred way to send and receive message through streams.
Frame and FrameBuilder
A Frame
is the unit that streams operate on. Frames are used to ensure a complete piece of
information has been received and that complete pieces of information are sent without
fragmentation. A FrameBuilder
is used by the stream types to construct a Frame
from a
chunk of bytes.
Structs
Enums
Traits
- The Frame trait allows for type construction/destruction to/from a chunk of bytes.