Module classify
Expand description
Tools for classifying responses as either success or failure.
Structs§
- The
ClassifyEos
forGrpcErrorsAsFailures
. - Response classifier for gRPC responses.
- Response classifier that transforms the failure class of some other classifier.
- A
ClassifyEos
type that can be used inClassifyResponse
implementations that never have to classify streaming responses. - The default classifier used for normal HTTP responses.
- A
MakeClassifier
that produces new classifiers by cloning an inner classifier. - Response classifier that considers responses with a status code within some range to be failures.
Enums§
- Result of doing a classification.
- gRPC status codes. Used in
GrpcErrorsAsFailures
. - The failure class for
GrpcErrorsAsFailures
. - The failure class for
ServerErrorsAsFailures
. - The failure class for
StatusInRangeAsFailures
.
Traits§
- Trait for classifying end of streams (EOS) as either success or failure.
- Trait for classifying responses as either success or failure. Designed to support both unary requests (single request for a single response) as well as streaming responses.
- Trait for producing response classifiers from a request.