pub struct Delivery<T> { /* private fields */ }Expand description
A received item paired with the handle that confirms or returns it.
Processing is complete only when the AckHandle taken from
into_parts is acked; until then a durable backend may
redeliver after a crash. Dropping a delivery without acking leaves it
unconfirmed (a durable backend redelivers it later).
Implementations§
Source§impl<T> Delivery<T>
impl<T> Delivery<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Delivery<T>
impl<T> !Sync for Delivery<T>
impl<T> !UnwindSafe for Delivery<T>
impl<T> Freeze for Delivery<T>where
T: Freeze,
impl<T> Send for Delivery<T>where
T: Send,
impl<T> Unpin for Delivery<T>where
T: Unpin,
impl<T> UnsafeUnpin for Delivery<T>where
T: UnsafeUnpin,
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