Struct quilkin::filters::FilterRegistry[][src]

pub struct FilterRegistry { /* fields omitted */ }
Expand description

Registry of all Filters that can be applied in the system.

Note: Cloning FilterRegistry, clones a new reference to the data and does not clone the data itself. In other words the clone is “shallow” and not deep.

Implementations

Creates a new registry using the provided FilterSet as the set of available filters.

Creates and returns a new dynamic instance of Filter for a given key. Errors if the filter cannot be found, or if there is a configuration issue.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Wrap the input message T in a tonic::Request

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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