pub struct NeverClassifyEos<T> { /* private fields */ }
Expand description

A ClassifyEos type that can be used in ClassifyResponse implementations that never have to classify streaming responses.

NeverClassifyEos exists only as type. NeverClassifyEos values cannot be constructed.

Trait Implementations§

The type of failure classifications.
Perform the classification from response trailers.
Classify an error. Read more
Transform the failure classification using a function. Read more
Formats the value using the given formatter. 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

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.