pub enum DurabilityMode {
Ephemeral,
Durable,
DurableDedup,
DurableConversation,
}Expand description
Per-channel durability strategy.
Variants§
Ephemeral
No persistence or durability bookkeeping.
Durable
Persist messages for replay and crash recovery.
DurableDedup
Persist messages and apply the lightweight dedup contract.
DurableConversation
Persist resumable processing state for durable conversations.
Trait Implementations§
Source§impl Clone for DurabilityMode
impl Clone for DurabilityMode
Source§fn clone(&self) -> DurabilityMode
fn clone(&self) -> DurabilityMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DurabilityMode
Source§impl Debug for DurabilityMode
impl Debug for DurabilityMode
impl Eq for DurabilityMode
Source§impl PartialEq for DurabilityMode
impl PartialEq for DurabilityMode
Source§fn eq(&self, other: &DurabilityMode) -> bool
fn eq(&self, other: &DurabilityMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DurabilityMode
Auto Trait Implementations§
impl Freeze for DurabilityMode
impl RefUnwindSafe for DurabilityMode
impl Send for DurabilityMode
impl Sync for DurabilityMode
impl Unpin for DurabilityMode
impl UnsafeUnpin for DurabilityMode
impl UnwindSafe for DurabilityMode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.