Skip to main content

PendingTxMatcher

Trait PendingTxMatcher 

Source
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§

Source

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".

Implementors§