pub trait ReplyMatcher {
// Required method
fn match_reply(&mut self, reply_seq: i64) -> bool;
}Expand description
Type-erased RequestCorrelator::resolve, so one Promise type can poll
a plain service client and an action sub-client alike.
Required Methods§
Sourcefn match_reply(&mut self, reply_seq: i64) -> bool
fn match_reply(&mut self, reply_seq: i64) -> bool
true if reply_seq answers a pending request (which is then retired),
false if the reply is stale and must be dropped.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".