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