[][src]Type Definition amqp_manager::prelude::DeliveryResult

type DeliveryResult = Result<Option<(Channel, Delivery)>, Error>;

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)