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
[src]
pub fn default_with(
base: &Logger,
filters: impl IntoIterator<Item = DynFilterFactory>
) -> Self
[src]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.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for FilterSet
impl !UnwindSafe for FilterSet
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more