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