pub struct Emitter<'a> { /* private fields */ }
Expand description

The Emitter receives index key/value pairs from the application.

See the Document trait for an example.

Implementations

Call this with an index key and value. Each data record can have zero or more index entries. The index key is not required to be unique, and the optional value can be in any format.

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

Returns the argument unchanged.

Calls U::from(self).

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

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.