Type Alias MockResponse

Source
pub type MockResponse = ResponsePayload;
Expand description

A mock response that can be pushed into an Asserter.

Aliased Type§

enum MockResponse {
    Success(Box<RawValue>),
    Failure(ErrorPayload),
}

Variants§

§

Success(Box<RawValue>)

A successful response payload.

§

Failure(ErrorPayload)

An error response payload.