pub struct StreamDelivery {
pub stream_seq: u64,
pub delivery_count: u64,
pub message: Message,
}Fields§
§stream_seq: u64§delivery_count: u64How many times this message has been delivered to this durable,
counting this delivery: 1 on the first delivery, and one more after
every nak or ack-wait expiry. JetStream reports it as num_delivered.
On a stream whose max-deliver is unlimited this is the only way a
consumer can tell a message that keeps failing from a new one, so it is
what a consumer uses to give up and StreamCursor::term it.
message: MessageTrait Implementations§
Source§impl Clone for StreamDelivery
impl Clone for StreamDelivery
Source§impl Debug for StreamDelivery
impl Debug for StreamDelivery
impl Eq for StreamDelivery
Source§impl PartialEq for StreamDelivery
impl PartialEq for StreamDelivery
impl StructuralPartialEq for StreamDelivery
Auto Trait Implementations§
impl Forget for StreamDelivery
impl Freeze for StreamDelivery
impl RefUnwindSafe for StreamDelivery
impl Send for StreamDelivery
impl Sync for StreamDelivery
impl Unpin for StreamDelivery
impl UnsafeUnpin for StreamDelivery
impl UnwindSafe for StreamDelivery
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