Module encoding

Source
Expand description

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

Re-exports§

pub use format::AvroSerializer;
pub use format::AvroSerializerConfig;
pub use format::AvroSerializerOptions;
pub use format::CefSerializer;
pub use format::CefSerializerConfig;
pub use format::CsvSerializer;
pub use format::CsvSerializerConfig;
pub use format::GelfSerializer;
pub use format::GelfSerializerConfig;
pub use format::JsonSerializer;
pub use format::JsonSerializerConfig;
pub use format::JsonSerializerOptions;
pub use format::LogfmtSerializer;
pub use format::LogfmtSerializerConfig;
pub use format::NativeJsonSerializer;
pub use format::NativeJsonSerializerConfig;
pub use format::NativeSerializer;
pub use format::NativeSerializerConfig;
pub use format::ProtobufSerializer;
pub use format::ProtobufSerializerConfig;
pub use format::ProtobufSerializerOptions;
pub use format::RawMessageSerializer;
pub use format::RawMessageSerializerConfig;
pub use format::TextSerializer;
pub use format::TextSerializerConfig;
pub use framing::BoxedFramer;
pub use framing::BoxedFramingError;
pub use framing::BytesEncoder;
pub use framing::BytesEncoderConfig;
pub use framing::CharacterDelimitedEncoder;
pub use framing::CharacterDelimitedEncoderConfig;
pub use framing::CharacterDelimitedEncoderOptions;
pub use framing::LengthDelimitedEncoder;
pub use framing::LengthDelimitedEncoderConfig;
pub use framing::NewlineDelimitedEncoder;
pub use framing::NewlineDelimitedEncoderConfig;

Modules§

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

Enums§

Error
An error that occurred while encoding structured events into byte frames.
Framer
Produce a byte stream from byte frames.
FramingConfig
Framing configuration.
Serializer
Serialize structured events as bytes.
SerializerConfig
Serializer configuration.

Type Aliases§

BuildError
An error that occurred while building an encoder.