pub enum Rebuilding {
Connection,
Consumer,
}Expand description
What this backend is trying to rebuild.
Both share one policy, but they fail for different reasons and a policy is allowed to treat them differently. A connection fails because the broker is unreachable, and waiting is usually the only option. A resubscribe fails on a live connection, most often because the queue is not there, and no amount of waiting fixes a queue an operator deleted: that is the case worth giving up on.
Variants§
Connection
The AMQP connection itself.
Consumer
A consumer’s subscription, on a connection that is already live.
Trait Implementations§
Source§impl Clone for Rebuilding
impl Clone for Rebuilding
Source§fn clone(&self) -> Rebuilding
fn clone(&self) -> Rebuilding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Rebuilding
Source§impl Debug for Rebuilding
impl Debug for Rebuilding
impl Eq for Rebuilding
Source§impl PartialEq for Rebuilding
impl PartialEq for Rebuilding
impl StructuralPartialEq for Rebuilding
Auto Trait Implementations§
impl Freeze for Rebuilding
impl RefUnwindSafe for Rebuilding
impl Send for Rebuilding
impl Sync for Rebuilding
impl Unpin for Rebuilding
impl UnsafeUnpin for Rebuilding
impl UnwindSafe for Rebuilding
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