pub trait MessageExtractor:
Send
+ Sync
+ 'static {
type Message: Send + 'static;
// Required methods
fn entity_id(&self, message: &Self::Message) -> String;
fn shard_id(&self, message: &Self::Message) -> String;
}pub trait MessageExtractor:
Send
+ Sync
+ 'static {
type Message: Send + 'static;
// Required methods
fn entity_id(&self, message: &Self::Message) -> String;
fn shard_id(&self, message: &Self::Message) -> String;
}