pub enum EgressError {
ExchangeRequiresRoutingKey {
egress: String,
exchange: Exchange,
},
ExchangeCannotHaveRoutingKey {
egress: String,
exchange: Exchange,
routing_key: String,
},
}Expand description
Represents the various error states of a RabbitMQ egress definition.
Variants§
ExchangeRequiresRoutingKey
Indicates the absence of a routing key where it is required.
ExchangeCannotHaveRoutingKey
Indicates the presence of a routing key where it is ignored.
Trait Implementations§
Source§impl Debug for EgressError
impl Debug for EgressError
Source§impl Display for EgressError
impl Display for EgressError
Source§impl Error for EgressError
impl Error for EgressError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for EgressError
impl PartialEq for EgressError
impl Eq for EgressError
impl StructuralPartialEq for EgressError
Auto Trait Implementations§
impl Freeze for EgressError
impl RefUnwindSafe for EgressError
impl Send for EgressError
impl Sync for EgressError
impl Unpin for EgressError
impl UnwindSafe for EgressError
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