Enum gotham::test::TestRequestError [] [src]

pub enum TestRequestError {
    TimedOut,
    IoError(Error),
    HyperError(Error),
}

The TestRequestError type represents all error states that can result from evaluating a response future. See TestServer::run_request for usage.

Variants

The response was not received before the timeout duration elapsed

A std::io::Error occurred before a response was received

A hyper::Error occurred before a response was received

Trait Implementations

impl Debug for TestRequestError
[src]

[src]

Formats the value using the given formatter.