1 2 3 4 5 6 7 8
//! `IMessageExtractor` equivalent from. pub trait MessageExtractor: Send + Sync + 'static { type Message: Send + 'static; fn entity_id(&self, message: &Self::Message) -> String; fn shard_id(&self, message: &Self::Message) -> String; }