pub trait BlockFilterFactory<T> {
type Filter: BlockFilter<Client = T> + Send;
// Required method
fn filter() -> Self::Filter;
}
Expand description
Defines the factory interface for creating block filters
This trait must be implemented by all blockchain-specific clients to provide a way to create block filters.
Required Associated Types§
type Filter: BlockFilter<Client = T> + Send
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.