pub enum AckKind {
Ack,
Nak(Option<Duration>),
Progress,
Next,
Term,
}
Expand description
The kinds of response used for acknowledging a processed message.
Variants§
Ack
Acknowledges a message was completely handled.
Nak(Option<Duration>)
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 Freeze for AckKind
impl RefUnwindSafe for AckKind
impl Send for AckKind
impl Sync for AckKind
impl Unpin for AckKind
impl UnwindSafe for AckKind
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)