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
All messages will be individually acknowledged. This is the default.
No messages are acknowledged.
Acknowledges all messages with lower sequence numbers when a later message is acknowledged. Useful for “batching” acknowledgement.
Trait Implementations
impl<'de> Deserialize<'de> for AckPolicy
[src]
impl<'de> Deserialize<'de> for AckPolicy
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl StructuralPartialEq for AckPolicy
[src]
impl StructuralPartialEq for AckPolicy
[src]Auto Trait Implementations
impl RefUnwindSafe for AckPolicy
impl RefUnwindSafe for AckPolicy
impl UnwindSafe for AckPolicy
impl UnwindSafe for AckPolicy
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,