pub enum AckPolicy {
Explicit,
None,
All,
}Expand description
Acknowledgment policy for consumers.
Variants§
Explicit
Acknowledge each message individually.
None
Messages are considered acknowledged on delivery.
All
Acknowledge all messages up to and including the acknowledged one.
Trait Implementations§
impl Copy for AckPolicy
impl Eq for AckPolicy
impl StructuralPartialEq for AckPolicy
Auto Trait Implementations§
impl Freeze for AckPolicy
impl RefUnwindSafe for AckPolicy
impl Send for AckPolicy
impl Sync for AckPolicy
impl Unpin for AckPolicy
impl UnwindSafe for AckPolicy
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