Enum finchers::test::TestResult[][src]

pub enum TestResult {
    Upgraded(Box<Future<Item = (), Error = ()> + Send + 'static>),
    Payload {
        chunks: Vec<Bytes>,
        trailers: Option<HeaderMap>,
        content_length: Option<u64>,
    },
}

A struct representing a response body returned from the test runner.

Variants

Fields of Payload

Methods

impl TestResult
[src]

Trait Implementations

impl Debug for TestResult
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for TestResult

impl !Sync for TestResult