pub struct QueueDelivery {
pub body: Vec<u8>,
pub receipt: String,
}Expand description
Individual-ack delivery model. A stream checkpoint requires a separate port; implementations must not disguise prefix commits as arbitrary receipt deletes.
Fields§
§body: Vec<u8>§receipt: StringImplementations§
Source§impl QueueDelivery
impl QueueDelivery
Sourcepub fn validate(&self, limits: QueueLimits) -> Result<()>
pub fn validate(&self, limits: QueueLimits) -> Result<()>
Bound copied transport data before parsing it. Empty/malformed JSON is deliberately a decode error handled by the coordinator, not an empty poll.
Trait Implementations§
Source§impl Clone for QueueDelivery
impl Clone for QueueDelivery
Source§impl Debug for QueueDelivery
impl Debug for QueueDelivery
impl Eq for QueueDelivery
Source§impl PartialEq for QueueDelivery
impl PartialEq for QueueDelivery
impl StructuralPartialEq for QueueDelivery
Auto Trait Implementations§
impl Freeze for QueueDelivery
impl RefUnwindSafe for QueueDelivery
impl Send for QueueDelivery
impl Sync for QueueDelivery
impl Unpin for QueueDelivery
impl UnsafeUnpin for QueueDelivery
impl UnwindSafe for QueueDelivery
Blanket Implementations§
impl<T> ArtifactLease for T
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