Enum nats::jetstream::AckKind[][src]

pub enum AckKind {
    Ack,
    Nak,
    Progress,
    Next,
    Term,
}

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 AsRef<[u8]> for AckKind[src]

impl Clone for AckKind[src]

impl Copy for AckKind[src]

impl Debug for AckKind[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,