pub trait RetrieveReplyTo<'a, T> {
// Required method
fn retrieve_reply_to(&'a self) -> Option<T>;
}Expand description
Artificial trait implemented for AMQPProperties to allow conveniently
extracting the “reply-to” value, coercing it into various types.
Required Methods§
Sourcefn retrieve_reply_to(&'a self) -> Option<T>
fn retrieve_reply_to(&'a self) -> Option<T>
Extracts the “reply-to” value from these AMQPProperties, if it is
present and can be coerced to type T.
Implementations on Foreign Types§
Source§impl<'a, T> RetrieveReplyTo<'a, T> for AMQPPropertieswhere
ShortString: Coerce<'a, T>,
Implements RetrieveReplyTo for every type T for which the underlying
AMQPValue implements Coerce.
impl<'a, T> RetrieveReplyTo<'a, T> for AMQPPropertieswhere
ShortString: Coerce<'a, T>,
Implements RetrieveReplyTo for every type T for which the underlying
AMQPValue implements Coerce.