Trait cfg_traits::liquidity_pools::LpMessageBatch
source · pub trait LpMessageBatch: Sized {
// Required methods
fn pack_with(&mut self, other: Self) -> DispatchResult;
fn submessages(&self) -> Vec<Self>;
fn empty() -> Self;
}
Expand description
Behavior or a message that can be batched
Required Methods§
sourcefn submessages(&self) -> Vec<Self>
fn submessages(&self) -> Vec<Self>
Decompose the message into a list of messages If the message is not decomposable, it returns the own message.
Object Safety§
This trait is not object safe.