Trait cloudevents::message::StructuredSerializer

source ·
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§