Type Definition lapin::message::DeliveryResult [−][src]
pub type DeliveryResult = Result<Option<(Channel, Delivery)>>;
Expand description
Type wrapping the output of a consumer
- Ok(Some((channel, delivery))) carries the delivery alongside its channel
- Ok(None) means that the consumer got canceled
- Err(error) carries the error and is always followed by Ok(None)