Skip to main content

MessageProjection

Trait MessageProjection 

Source
pub trait MessageProjection {
    // Required methods
    fn to_messages(&self) -> Vec<Message>;
    fn to_messages_with_seq(&self) -> Vec<(u64, Message)>;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl MessageProjection for [EventEnvelope]

Implementors§