pub trait KVFilter {
// Required method
fn is_accepted(&self, key: &Key) -> bool;
}Expand description
Key-value pair filter.
Required Methods§
Sourcefn is_accepted(&self, key: &Key) -> bool
fn is_accepted(&self, key: &Key) -> bool
Check if a given key should be accepted.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".