Enum lapin::ExchangeKind
source · pub enum ExchangeKind {
Custom(String),
Direct,
Fanout,
Headers,
Topic,
}
Variants§
Trait Implementations§
source§impl Clone for ExchangeKind
impl Clone for ExchangeKind
source§fn clone(&self) -> ExchangeKind
fn clone(&self) -> ExchangeKind
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 ExchangeKind
impl Debug for ExchangeKind
source§impl Default for ExchangeKind
impl Default for ExchangeKind
source§impl<'de> Deserialize<'de> for ExchangeKind
impl<'de> Deserialize<'de> for ExchangeKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ExchangeKind
impl PartialEq for ExchangeKind
source§fn eq(&self, other: &ExchangeKind) -> bool
fn eq(&self, other: &ExchangeKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ExchangeKind
impl Serialize for ExchangeKind
impl Eq for ExchangeKind
impl StructuralPartialEq for ExchangeKind
Auto Trait Implementations§
impl Freeze for ExchangeKind
impl RefUnwindSafe for ExchangeKind
impl Send for ExchangeKind
impl Sync for ExchangeKind
impl Unpin for ExchangeKind
impl UnwindSafe for ExchangeKind
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)