Expand description
A collection of framing methods that can be used to convert from byte frames with defined boundaries to byte chunks.
Structs§
- Bytes
Decoder - A decoder for passing through bytes as-is.
- Bytes
Decoder Config - Config used to build a
BytesDecoderConfig
. - Character
Delimited Decoder - A decoder for handling bytes that are delimited by (a) chosen character(s).
- Character
Delimited Decoder Config - Config used to build a
CharacterDelimitedDecoder
. - Character
Delimited Decoder Options - Options for building a
CharacterDelimitedDecoder
. - Chunked
Gelf Decoder - A codec for handling GELF messages that may be chunked. The implementation is based on Graylog’s GELF documentation and Graylog’s go-gelf library.
- Chunked
Gelf Decoder Config - Config used to build a
ChunkedGelfDecoder
. - Chunked
Gelf Decoder Options - Options for building a
ChunkedGelfDecoder
. - Length
Delimited Decoder - A codec for handling bytes sequences whose length is encoded in a frame head.
- Length
Delimited Decoder Config - Config used to build a
LengthDelimitedDecoder
. - Newline
Delimited Decoder - A codec for handling bytes that are delimited by (a) newline(s).
- Newline
Delimited Decoder Config - Config used to build a
NewlineDelimitedDecoder
. - Newline
Delimited Decoder Options - Options for building a
NewlineDelimitedDecoder
. - Octet
Counting Decoder - Codec using the
Octet Counting
format as specified in https://tools.ietf.org/html/rfc6587#section-3.4.1. - Octet
Counting Decoder Config - Config used to build a
OctetCountingDecoder
. - Octet
Counting Decoder Options - Options for building a
OctetCountingDecoder
.
Traits§
- Framer
- Produce byte frames from a byte stream / byte message.
- Framing
Error - An error that occurred while producing byte frames from a byte stream / byte message.
Type Aliases§
- Boxed
Framer - A
Box
containing aFramer
. - Boxed
Framing Error - A
Box
containing aFramingError
.