pub struct AdaptMap<'a, D, E, F, W>(_, _, _, _);
Expand description

Sink adapter that applies some function before passing the value to the wrapped sink

Trait Implementations

Push the error error to the sink

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.