pub struct RoutedConsumerId(RouterId, ConnectionId, ConsumerId);Expand description
consumer identity plus its source router and receiver connection
Tuple Fields§
§0: RouterId§1: ConnectionId§2: ConsumerIdImplementations§
Source§impl RoutedConsumerId
impl RoutedConsumerId
pub const fn router_id(self) -> RouterId
pub const fn connection_id(self) -> ConnectionId
pub const fn consumer_id(self) -> ConsumerId
Trait Implementations§
Source§impl Clone for RoutedConsumerId
impl Clone for RoutedConsumerId
Source§fn clone(&self) -> RoutedConsumerId
fn clone(&self) -> RoutedConsumerId
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 moreSource§impl Debug for RoutedConsumerId
impl Debug for RoutedConsumerId
Source§impl Ord for RoutedConsumerId
impl Ord for RoutedConsumerId
Source§fn cmp(&self, other: &RoutedConsumerId) -> Ordering
fn cmp(&self, other: &RoutedConsumerId) -> Ordering
1.21.0 · 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 RoutedConsumerId
impl PartialEq for RoutedConsumerId
Source§impl PartialOrd for RoutedConsumerId
impl PartialOrd for RoutedConsumerId
impl Copy for RoutedConsumerId
impl Eq for RoutedConsumerId
impl StructuralPartialEq for RoutedConsumerId
Auto Trait Implementations§
impl Freeze for RoutedConsumerId
impl RefUnwindSafe for RoutedConsumerId
impl Send for RoutedConsumerId
impl Sync for RoutedConsumerId
impl Unpin for RoutedConsumerId
impl UnsafeUnpin for RoutedConsumerId
impl UnwindSafe for RoutedConsumerId
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