Struct quilkin::filters::FilterSet [−][src]
pub struct FilterSet(_);
Expand description
A set of filters to be registered with a FilterRegistry
.
Implementations
Returns a default set of filters which are runtime configurable and used with each endpoint.
Current default filters:
pub fn default_with(
base: &Logger,
filters: impl IntoIterator<Item = DynFilterFactory>
) -> Self
pub fn default_with(
base: &Logger,
filters: impl IntoIterator<Item = DynFilterFactory>
) -> Self
Returns a FilterSet
with the filters provided through filters
in
addition to the defaults. Any filter factories provided by filters
will override any defaults with a matching name.
See FilterSet::default
for a list of the current defaults.
Creates a new FilterSet
with the set of filter_factories
without
any defaults.