Module tsukuyomi::output

source ·
Expand description

Components for constructing HTTP responses.

Modules

Structs

A type representing the message body in an HTTP response.

Traits

A trait representing the conversion into an HTTP response.

Functions

Creates an HTML responder with the specified response body.
A function to create a IntoResponse using the specified function.
Creates a JSON responder from the specified data.
Creates a JSON responder with pretty output from the specified data.

Derive Macros

A procedural macro for deriving the implementation of IntoResponse.