pub enum Recreate {
Never,
IfEmpty,
Always,
}Expand description
What create_or_update_topic does when the topic exists with another type, fifo or volatile
(fields that do not change in place).
Variants§
Never
Refuses with 409 topic.immutable-mismatch; nothing changes.
IfEmpty
Removes and creates it again only if the queue and its dead-letter hold no message on any node
(409 topic.not-empty otherwise).
Always
Removes it with its messages and dead-letter and creates it again (new id).
Trait Implementations§
impl Copy for Recreate
impl Eq for Recreate
impl StructuralPartialEq for Recreate
Auto Trait Implementations§
impl Forget for Recreate
impl Freeze for Recreate
impl RefUnwindSafe for Recreate
impl Send for Recreate
impl Sync for Recreate
impl Unpin for Recreate
impl UnsafeUnpin for Recreate
impl UnwindSafe for Recreate
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