pub trait ProxyQueryPredicate:
Clone
+ Send
+ Sync
+ 'static {
// Required method
fn execute(&self, proxy: &Proxy) -> bool;
}
Expand description
Trait that is used by the ProxyDB
for providing an optional
filter predicate to rule out returned results.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.