pub type OwnedDeliveryResult = Result<(i32, i64), (KafkaError, OwnedMessage)>;
Expand description

Represents the result of message production as performed from the FutureProducer.

If message delivery was successful, OwnedDeliveryResult will return the partition and offset of the message. If the message failed to be delivered an error will be returned, together with an owned copy of the original message.