Crate finchers_core [] [src]

Core primitives for constructing asynchronous HTTP services

Re-exports

pub use error::Error;
pub use error::HttpError;
pub use task::Task;

Modules

endpoint

Components for constructing Endpoint.

error

Error primitives.

input

Components for parsing the incoming HTTP request.

output

Components for constructing HTTP responses.

task

Components for constructing asynchronous computations which will be returned from Endpoints.

Macros

poll

A helper macro for extracting the value of Poll<T>.

poll_result

A helper macro for extracting the successful value of PollResult<T, E>.

Structs

Input

The context which holds the received HTTP request.

Enums

Never

A type which has no possible values.

Poll

An enum which indicates whether a value is ready or not.

Traits

Endpoint

Trait representing an endpoint.

IsOption

A helper trait enforcing that the type is Option.

IsResult

A helper trait enforcing that the type is Result.

Responder

Trait representing the conversion to an HTTP response.

Type Definitions

Output

A type alias of value which will be returned from Responder.

PollResult

A type alias of Poll<Result<T, E>>.