pub enum Settle {
AtLeastOnce,
AtMostOnce,
}Expand description
Delivery guarantee of a subscription.
Variants§
AtLeastOnce
Deliveries are settled by the handler: ack accepts, nack releases or rejects. The
default.
AtMostOnce
Deliveries are settled on receipt; ack/nack report
AckError::Unsupported.
Trait Implementations§
impl Copy for Settle
impl Eq for Settle
impl StructuralPartialEq for Settle
Auto Trait Implementations§
impl Freeze for Settle
impl RefUnwindSafe for Settle
impl Send for Settle
impl Sync for Settle
impl Unpin for Settle
impl UnsafeUnpin for Settle
impl UnwindSafe for Settle
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§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.