pub enum NeedToReload {
All,
ConsumerChannel(AmqpChannelId),
PublishChannel,
}Expand description
Convenient enum type for this crate’s internals. This enum is being sent by the ChannelConsumerHandler instances to the ConnectionHandler whenever something bad is detected.
Variants§
Trait Implementations§
Source§impl Clone for NeedToReload
impl Clone for NeedToReload
Source§fn clone(&self) -> NeedToReload
fn clone(&self) -> NeedToReload
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NeedToReload
impl RefUnwindSafe for NeedToReload
impl Send for NeedToReload
impl Sync for NeedToReload
impl Unpin for NeedToReload
impl UnsafeUnpin for NeedToReload
impl UnwindSafe for NeedToReload
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