pub trait Serializer: Encoder<Event, Error = Error> + DynClone + Debug + Send + Sync { }
Serialize a structured event into a byte frame.
Default implementation for Serializers that implement tokio_util::codec::Encoder.
Serializer
tokio_util::codec::Encoder