Expand description
Tsukuyomi is an asynchronous Web framework for Rust.
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
ModifyHandler
s. - 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.
- Http
Error - A trait representing error values to be converted into an HTTP response.
- Into
Response - A trait representing the conversion into an HTTP response.
- Modify
Handler - A trait representing a type for modifying the instance of
Handler
. - Responder
- A trait that abstracts replies to clients.
Type Aliases§
Derive Macros§
- Into
Response - A procedural macro for deriving the implementation of
IntoResponse
.