[−][src]Trait cdrs::cluster::ResponseCache
ResponseCache
caches responses to match them by their stream id to requests.
Required methods
#[must_use]fn match_or_cache_response<'life0, 'async_trait>(
&'life0 self,
stream_id: StreamId,
frame: Frame
) -> Pin<Box<dyn Future<Output = Option<Frame>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
stream_id: StreamId,
frame: Frame
) -> Pin<Box<dyn Future<Output = Option<Frame>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,