pub trait AggregationStrategy: Send + Sync {
// Required method
fn combine(&self, group: Vec<Message>) -> Option<Message>;
}Expand description
Folds a completed group into an outbound Message. Returning None means “the group is
complete but emit nothing” (e.g. ConcatText on non-text payloads).
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".