usestd::error::Error;/// A kafka message handler.
////// Gets passed decoded Kafka Messages of type `Self::Message`
////// Returns an application error `AE` if processing fails
pubtraitMessageHandler<AE: Error + Send + Sync> {/// The type of messages this handler handles.
////// This is typically an enum, where each variant is a message for a topic.
typeMessage;/// topics this MessageHandler handles, topics to subscribe to
fntopics()->&'static[&'staticstr];fnhandle(&self, kafka_message:Self::Message)-> impl Future<Output = Result<(), AE>>;}