Enum nats::jetstream::AckPolicy[][src]

#[repr(u8)]pub enum AckPolicy {
    Explicit,
    None,
    All,
}

Determines whether messages will be acknowledged individually, in batches, or never.

Variants

Explicit

All messages will be individually acknowledged. This is the default.

None

No messages are acknowledged.

All

Acknowledges all messages with lower sequence numbers when a later message is acknowledged. Useful for “batching” acknowledgement.

Trait Implementations

impl Clone for AckPolicy[src]

impl Copy for AckPolicy[src]

impl Debug for AckPolicy[src]

impl Default for AckPolicy[src]

impl<'de> Deserialize<'de> for AckPolicy[src]

impl PartialEq<AckPolicy> for AckPolicy[src]

impl Serialize for AckPolicy[src]

impl StructuralPartialEq for AckPolicy[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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>,