pub enum IngressError {
BatchSizeGreaterThanPrefetchCount {
ingress: String,
batch_size: NonZeroUsize,
prefetch_count: NonZeroU16,
},
BatchSizeWithoutPrefetchCount {
ingress: String,
batch_size: NonZeroUsize,
},
DefaultExchangeRequiresQueueName {
ingress: String,
},
DefaultExchangeCannotHaveBindingKeys {
ingress: String,
},
DefaultExchangeCannotHaveBindingHeaders {
ingress: String,
},
ExchangeKindRequiresBindingKeys {
ingress: String,
kind: ExchangeKind,
},
ExchangeKindCannotHaveBindingKeys {
ingress: String,
kind: ExchangeKind,
},
ExchangeKindRequiresBindingHeaders {
ingress: String,
kind: ExchangeKind,
},
ExchangeKindCannotHaveBindingHeaders {
ingress: String,
kind: ExchangeKind,
},
ExchangeKindCannotHaveEmptyBindingKey {
ingress: String,
kind: ExchangeKind,
},
ExchangeKindCannotHaveEmptyBindingHeader {
ingress: String,
kind: ExchangeKind,
},
}Expand description
Represents the various error states of a RabbitMQ ingress definition.
Variants§
BatchSizeGreaterThanPrefetchCount
Indicates batch size greater than prefetch count
BatchSizeWithoutPrefetchCount
Indicates batch size on an ingress without prefetch count
DefaultExchangeRequiresQueueName
Indicates the absence of a queue name where it is required.
DefaultExchangeCannotHaveBindingKeys
Indicates the presence of binding keys on a default exchange, which doesn’t allow them.
DefaultExchangeCannotHaveBindingHeaders
Indicates the presence of binding headers on a default exchange, which doesn’t allow them.
ExchangeKindRequiresBindingKeys
Indicates the absence of binding keys on an exchange kind that requires them.
ExchangeKindCannotHaveBindingKeys
Indicates the presence of binding keys on an exchange kind that ignores them.
ExchangeKindRequiresBindingHeaders
Indicates the absence of binding headers on an exchange kind that requires them.
ExchangeKindCannotHaveBindingHeaders
Indicates the presence of binding headers on an exchange kind that ignores them.
ExchangeKindCannotHaveEmptyBindingKey
Indicates the presence of an empty binding key on an exchange kind that requires them.
ExchangeKindCannotHaveEmptyBindingHeader
Indicates the presence of an empty binding header on an exchange kind that requires them.