[][src]Crate askama_gotham

Modules

mime
shared

Structs

Body

A stream of Chunks, used when receiving bodies.

Html
MarkupDisplay
Response

Represents an HTTP response

State

Provides storage for request state, and stores one item of each type. The types used for storage must implement the gotham::state::StateData trait to allow its storage. The gotham_derive crate provides a custom derive for StateData to make this more convenient.

StatusCode

An HTTP status code (status-code in RFC 7230 et al.).

Text

Enums

Error

askama error type

Traits

IntoResponse

Represents a type which can be converted to a response. This trait is used in converting the return type of a function into a response.

SizedTemplate
Template

Main Template trait; implementations are generally derived

Functions

read_config_file
rerun_if_templates_changedDeprecated

Old build script helper to rebuild crates if contained templates have changed

respond

Type Definitions

Result

Derive Macros

Template