Trait ammonia::AttributeFilter
source · pub trait AttributeFilter: Send + Sync {
// Required method
fn filter<'a>(&self, _: &str, _: &str, _: &'a str) -> Option<Cow<'a, str>>;
}
Expand description
Types that implement this trait can be used to remove or rewrite arbitrary attributes.
See attribute_filter
for more details.