pub enum QueueKind {
Classic,
Quorum,
}Expand description
Defines a RabbitMQ queue kind, which is currently limited to either classic or quorum queues. See the RabbitMQ documentation for details.
Variants§
Classic
Classic queues are stored on a single node in the RabbitMQ cluster and provide high throughput.
A classic queue may still be mirrored to other nodes, which provides a degree of high availability.
Quorum
Quorum queues are stored on multiple nodes in the RabbitMQ cluster and provide high availability using a quorum algorithm.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for QueueKind
impl<'de> Deserialize<'de> for QueueKind
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for QueueKind
impl Ord for QueueKind
Source§impl PartialOrd for QueueKind
impl PartialOrd for QueueKind
impl Copy for QueueKind
impl Eq for QueueKind
impl StructuralPartialEq for QueueKind
Auto Trait Implementations§
impl Freeze for QueueKind
impl RefUnwindSafe for QueueKind
impl Send for QueueKind
impl Sync for QueueKind
impl Unpin for QueueKind
impl UnwindSafe for QueueKind
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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