pub struct RoutingKey(/* private fields */);Expand description
A routing key.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for RoutingKey
impl AsRef<str> for RoutingKey
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 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
Source§impl Display for RoutingKey
impl Display for RoutingKey
Source§impl From<&str> for RoutingKey
impl From<&str> for RoutingKey
Source§impl From<String> for RoutingKey
impl From<String> for RoutingKey
Source§impl Hash for RoutingKey
impl Hash for RoutingKey
Source§impl Ord for RoutingKey
impl Ord for RoutingKey
Source§fn cmp(&self, other: &RoutingKey) -> Ordering
fn cmp(&self, other: &RoutingKey) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RoutingKey
impl PartialEq for RoutingKey
Source§fn eq(&self, other: &RoutingKey) -> bool
fn eq(&self, other: &RoutingKey) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RoutingKey
impl PartialOrd for RoutingKey
impl Eq 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<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