pub struct Delivery {
pub envelope: Envelope,
pub attempts: u64,
/* private fields */
}Expand description
A message taken from the queue, held until it is committed or rejected.
Dropping one without either leaves it to come back once the queue’s ack wait passes.
Fields§
§envelope: Envelope§attempts: u64Deliveries before this one, as Utopia\Queue\Message::getAttempts() counts them.
Auto Trait Implementations§
impl !Freeze for Delivery
impl !RefUnwindSafe for Delivery
impl !UnwindSafe for Delivery
impl Forget for Delivery
impl Move for Delivery
impl Send for Delivery
impl Sync for Delivery
impl Unpin for Delivery
impl UnsafeUnpin for Delivery
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more