Module frame

Module 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§

Checksum32Frame
Checksum32FrameBuilder
SimpleFrame
SimpleFrameBuilder
WebSocketFrame
WebSocketFrameBuilder

Enums§

FrameType
OpType

Traits§

Frame
The Frame trait allows for type construction/destruction to/from a chunk of bytes.
FrameBuilder