pub enum Refs {
Keep,
Drop,
Acked,
}Expand description
What a delete does about the consumer groups still pointing at the entry.
XDEL takes an entry out from under whoever was handed it and leaves the
pending list holding an ID that can never be read, which is a state XCLAIM
then has to clean up. The 8.2 commands let a caller say what it wants
instead, and the three answers are the three words here.
Variants§
Keep
KEEPREF: take the entry and leave every pending list alone, which is
what XDEL has always done and is still the default.
Drop
DELREF: take the entry and take it out of every pending list with it.
Acked
ACKED: only take the entry when no group could still be handed it.
Trait Implementations§
impl Copy for Refs
impl Eq for Refs
impl StructuralPartialEq for Refs
Auto Trait Implementations§
impl Freeze for Refs
impl RefUnwindSafe for Refs
impl Send for Refs
impl Sync for Refs
impl Unpin for Refs
impl UnsafeUnpin for Refs
impl UnwindSafe for Refs
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