Enum lapin::ConsumerState
source · pub enum ConsumerState {
Active,
ActiveWithDelegate,
Canceling,
Canceled,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ConsumerState
impl Clone for ConsumerState
source§fn clone(&self) -> ConsumerState
fn clone(&self) -> ConsumerState
Returns a copy 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 moresource§impl Debug for ConsumerState
impl Debug for ConsumerState
source§impl Default for ConsumerState
impl Default for ConsumerState
source§impl PartialEq for ConsumerState
impl PartialEq for ConsumerState
source§fn eq(&self, other: &ConsumerState) -> bool
fn eq(&self, other: &ConsumerState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ConsumerState
impl Eq for ConsumerState
impl StructuralPartialEq for ConsumerState
Auto Trait Implementations§
impl Freeze for ConsumerState
impl RefUnwindSafe for ConsumerState
impl Send for ConsumerState
impl Sync for ConsumerState
impl Unpin for ConsumerState
impl UnwindSafe for ConsumerState
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