[][src]Module adventure::response

A trait of responses and common adaptors.

Structs

Future01Response

Converts a futures 0.1 Future01 into a [Response].

Future01ResponseObj

A [Response] wrapping a trait object of polling futures, similar to Box<dyn Future01+Send+Sync>.

FutureResponse

Converts a std::future::Future into a [Response].

FutureResponseObj

A [Response] wrapping a trait object of polling futures, similar to FutureObj.

LocalFuture01ResponseObj

A [Response] wrapping a trait object of polling futures, similar to Box<dyn Future01>.

LocalFutureResponseObj

A [Response] wrapping a trait object of polling futures, similar to LocalFutureObj.

Traits

Response

Trait to represent types of the response, and the task to receive it. A convenience for futures that return Result values that includes a variety of adapters tailored to such futures.