[][src]Crate tsukuyomi

Tsukuyomi is an asynchronous Web framework for Rust.

Re-exports

pub use crate::output::IntoResponse;

Modules

app

Components for constructing HTTP applications.

config

A collection of components for configuring App.

endpoint

Definition of Endpoint.

error

Error representation during handling the request.

extractor

Definition of Extractor and its implementors.

fs

The basic components for serving static files.

future

Compatible layer of asynchronous tasks used within the framework.

handler

Definition of Handler.

input

Components for accessing the incoming request data.

modifiers

A set of built-in ModifyHandlers.

output

Components for constructing HTTP responses.

responder

Definition of Responder.

util

Miscellaneous components used within the framework.

vendor

Re-export of crates used within the framework and frequently used on the user side.

Macros

chain

A macro for creating a chain of expressions.

local_key

A macro to create a LocalKey<T>.

path

A macro for generating the code that creates a Path from the provided tokens.

Structs

Error

A custom trait object which holds all kinds of errors occurring in handlers.

Input

A proxy object for accessing the incoming HTTP request data.

Traits

Endpoint

A trait representing the process to be performed when a route matches.

Extractor

A trait abstracting the extraction of values from the incoming request.

Handler

A trait representing the handler associated with the specified endpoint.

HttpError

A trait representing error values to be converted into an HTTP response.

IntoResponse

A trait representing the conversion into an HTTP response.

ModifyHandler

A trait representing a type for modifying the instance of Handler.

Responder

A trait that abstracts replies to clients.

Type Definitions

App
Result

A type alias of Result<T, E> with error::Error as error type.