Expand description
Core primitives for constructing asynchronous HTTP services
Re-exports§
pub use endpoint::Endpoint;pub use error::Error;pub use error::HttpError;pub use input::Input;pub use output::Output;pub use output::Responder;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>.
Enums§
- Never
- A type which has no possible values.
- Poll
- An enum which indicates whether a value is ready or not.
Traits§
- IsOption
- A helper trait enforcing that the type is
Option. - IsResult
- A helper trait enforcing that the type is
Result.
Type Aliases§
- Poll
Result - A type alias of
Poll<Result<T, E>>.