pub trait PendingTxMatcher<N: Network = Ethereum>: Send + Sync {
// Required method
fn matches(&self, tx: &N::TransactionResponse) -> bool;
}Expand description
Local predicate over a full pending transaction.
Required Methods§
Sourcefn matches(&self, tx: &N::TransactionResponse) -> bool
fn matches(&self, tx: &N::TransactionResponse) -> bool
Return true when the transaction should be routed to the handler.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".