pub trait CorrelationSupport: Channel {
// Required methods
fn send_with_correlation<'life0, 'async_trait>(
&'life0 self,
exchange: Exchange,
) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn receive_by_correlation<'life0, 'life1, 'async_trait>(
&'life0 self,
corr_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Option<Exchange>> + Send + 'async_trait>>
where 'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}Expand description
Correlation lookup extension (QueueChannel only).