pub trait StructuredSerializer<RETURN: Sized> {
    // Required method
    fn set_structured_event(self, bytes: Vec<u8>) -> Result<RETURN>;
}
Expand description

Serializer for structured mode messages.

Required Methods§

source

fn set_structured_event(self, bytes: Vec<u8>) -> Result<RETURN>

Implementors§

source§

impl StructuredSerializer<MessageRecord> for MessageRecord

Available on crate feature rdkafka only.
source§

impl StructuredSerializer<RequestBuilder> for RequestSerializer

Available on crate feature reqwest only.
source§

impl<T> StructuredSerializer<T> for Serializer<T>

Available on crate features http-binding or actix or warp or reqwest or axum or poem only.