pub enum AckKind {
Ack,
Nak,
Progress,
Next,
Term,
}
Expand description
The kinds of response used for acknowledging a processed message.
Variants
Ack
Acknowledges a message was completely handled.
Nak
Signals that the message will not be processed now and processing can move onto the next message, NAK’d message will be retried.
Progress
When sent before the AckWait period indicates that work is ongoing and the period should be extended by another equal to AckWait.
Next
Acknowledges the message was handled and requests delivery of the next message to the reply subject. Only applies to Pull-mode.
Term
Instructs the server to stop redelivery of a message without acknowledging it as successfully processed.
Trait Implementations
impl Copy for AckKind
Auto Trait Implementations
impl RefUnwindSafe for AckKind
impl Send for AckKind
impl Sync for AckKind
impl Unpin for AckKind
impl UnwindSafe for AckKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more