pub struct Merger<R, MF> { /* private fields */ }
Expand description

A struct you can use to merge entries from the sources by using the merge function provided to merge values when entries have the same key.

Implementations

Creates a MergerBuilder from a merge function, it can be used to configure your Merger with the sources to merge.

Consumes this Merger and outputs a stream of the merged entries in key-order.

Consumes this Merger and streams the entries to the Writer given in parameter.

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.