[−][src]Trait async_mq::message::MessagePeek
A trait to peek the Message and returns success or error.
Required methods
fn peek<'life0, 'life1, 'async_trait>(
&'life0 mut self,
msg: &'life1 Message
) -> Pin<Box<dyn Future<Output = Result<(), MessageError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 mut self,
msg: &'life1 Message
) -> Pin<Box<dyn Future<Output = Result<(), MessageError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Async method to peek a message.
fn boxed_clone(&self) -> Box<dyn MessagePeek + Send + Sync>
Implementors
impl MessagePeek for NoopPeeker
[src]
fn peek<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_msg: &'life1 Message
) -> Pin<Box<dyn Future<Output = Result<(), MessageError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
_msg: &'life1 Message
) -> Pin<Box<dyn Future<Output = Result<(), MessageError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Echoe back the request message.