pub enum MappingIndexer {
    Ore {
        index_id: Uuid,
        mapping: OreMapping,
        ore: Box<OREAES128>,
    },
    Filter {
        index_id: Uuid,
        mapping: FilterMapping,
        filter_key: [u8; 32],
    },
}
Expand description

An Indexer that indexs a record based on a single index.

Variants§

§

Ore

Fields

§index_id: Uuid
§mapping: OreMapping
§

Filter

Fields

§index_id: Uuid
§mapping: FilterMapping
§filter_key: [u8; 32]

Implementations§

Load a single MappingIndexer from a MappingWithMeta

Create a TermVector from a single term for the current mapping

Encrypt a Record using the provided mapping

If the Record contains no meaningful data to encrypt for this index, this method will return None.

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
The error type produced by a failed conversion.
Convert the given value into an approximately equivalent representation.
The error type produced by a failed conversion.
Convert the subject into an approximately equivalent representation.
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Approximate the subject with the default scheme.
Approximate the subject with a specific scheme.
Approximate the subject to a given type with the default scheme.
Approximate the subject to a given type with a specific scheme.
Convert the subject to a given type.
Attempt to convert the subject to a given type.
Attempt a value conversion of the subject to a given type.

Returns the argument unchanged.

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

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Wrap the input message T in a tonic::Request
Should always be Self
The error type produced by a failed conversion.
Convert the given value into the subject type.
The type returned in the event of a conversion error.
Performs the conversion.
The error type produced by a failed conversion.
Convert the subject into the destination type.
The type returned in the event of a conversion error.
Performs the conversion.
The error type produced by a failed conversion.
Convert the given value into an exactly equivalent representation.
The error type produced by a failed conversion.
Convert the subject into an exactly equivalent representation.
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