pub trait MessageProjection {
// Required methods
fn to_messages(&self) -> Vec<Message>;
fn to_messages_with_seq(&self) -> Vec<(u64, Message)>;
}Required Methods§
fn to_messages(&self) -> Vec<Message>
fn to_messages_with_seq(&self) -> Vec<(u64, Message)>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".