Module decoding

Source
Expand description

A collection of support structures that are used in the process of decoding bytes into events.

Re-exports§

pub use format::BoxedDeserializer;
pub use format::BytesDeserializer;
pub use format::BytesDeserializerConfig;
pub use format::GelfDeserializer;
pub use format::GelfDeserializerConfig;
pub use format::GelfDeserializerOptions;
pub use format::InfluxdbDeserializer;
pub use format::InfluxdbDeserializerConfig;
pub use format::JsonDeserializer;
pub use format::JsonDeserializerConfig;
pub use format::JsonDeserializerOptions;
pub use format::NativeDeserializer;
pub use format::NativeDeserializerConfig;
pub use format::NativeJsonDeserializer;
pub use format::NativeJsonDeserializerConfig;
pub use format::NativeJsonDeserializerOptions;
pub use format::ProtobufDeserializer;
pub use format::ProtobufDeserializerConfig;
pub use format::ProtobufDeserializerOptions;
pub use format::SyslogDeserializer;
pub use format::SyslogDeserializerConfig;
pub use format::SyslogDeserializerOptions;
pub use framing::BoxedFramer;
pub use framing::BoxedFramingError;
pub use framing::BytesDecoder;
pub use framing::BytesDecoderConfig;
pub use framing::CharacterDelimitedDecoder;
pub use framing::CharacterDelimitedDecoderConfig;
pub use framing::CharacterDelimitedDecoderOptions;
pub use framing::ChunkedGelfDecoder;
pub use framing::ChunkedGelfDecoderConfig;
pub use framing::ChunkedGelfDecoderOptions;
pub use framing::FramingError;
pub use framing::LengthDelimitedDecoder;
pub use framing::LengthDelimitedDecoderConfig;
pub use framing::NewlineDelimitedDecoder;
pub use framing::NewlineDelimitedDecoderConfig;
pub use framing::NewlineDelimitedDecoderOptions;
pub use framing::OctetCountingDecoder;
pub use framing::OctetCountingDecoderConfig;
pub use framing::OctetCountingDecoderOptions;

Modules§

format
A collection of formats that can be used to convert from byte frames to structured events.
framing
A collection of framing methods that can be used to convert from byte frames with defined boundaries to byte chunks.

Enums§

Deserializer
Parse structured events from bytes.
DeserializerConfig
Configures how events are decoded from raw bytes. Note some decoders can also determine the event output type (log, metric, trace).
Error
An error that occurred while decoding structured events from a byte stream / byte messages.
Framer
Produce byte frames from a byte stream / byte message.
FramingConfig
Framing configuration.

Traits§

StreamDecodingError
An error that occurs while decoding a stream.