pub struct RoutingKey;Expand description
Reads the routing key.
Trait Implementations§
Source§impl Clone for RoutingKey
impl Clone for RoutingKey
Source§fn clone(&self) -> RoutingKey
fn clone(&self) -> RoutingKey
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 moreSource§impl ContextField for RoutingKey
impl ContextField for RoutingKey
Source§type Context = AmqpContext
type Context = AmqpContext
The per-delivery context type this key reads from.
Source§fn read(self, src: &AmqpContext) -> String
fn read(self, src: &AmqpContext) -> String
Reads this key’s field out of
src. Named apart from Field::get so a key
implementing both traits stays unambiguous to call.impl Copy for RoutingKey
Source§impl Debug for RoutingKey
impl Debug for RoutingKey
Source§impl Default for RoutingKey
impl Default for RoutingKey
Source§fn default() -> RoutingKey
fn default() -> RoutingKey
Returns the “default value” for a type. Read more
impl Eq for RoutingKey
Source§impl Field<AmqpContext> for RoutingKey
impl Field<AmqpContext> for RoutingKey
Source§impl PartialEq for RoutingKey
impl PartialEq for RoutingKey
impl StructuralPartialEq for RoutingKey
Auto Trait Implementations§
impl Freeze for RoutingKey
impl RefUnwindSafe for RoutingKey
impl Send for RoutingKey
impl Sync for RoutingKey
impl Unpin for RoutingKey
impl UnsafeUnpin for RoutingKey
impl UnwindSafe for RoutingKey
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