Module viz::prelude[][src]

Modules

Application Configuration

Web Types

Macros

Construct an ad-hoc error from a string or existing non-anyhow error value.

Return early with an error.

Return early with an error if a condition is not satisfied.

Converts a custom error to Response and then converts to Error.

Responds a custom error to response.

Structs

The Context of an HTTP request - response.

Representation of an HTTP cookie.

A collection of cookies that tracks its modifications.

Extract typed information from the request’s cookies

The Error type, a wrapper around a dynamic error type.

Form Extractor

A super handler wrapper within the given Context and Args.

A basic handler wrapper within the given Args.

Json Extractor

A cryptographic master key for use with Signed and/or Private jars.

Various limits on incoming data

Extract typed information from the request’s path.

A path tree.

Payload Body

A child cookie jar that provides authenticated encryption for its cookies.

Extract typed information from the request’s query

Viz Response

Route

Router

Application state.

Enums

Cookies Error

Method

Params Error

Payload Error

Traits

A Extractor trait.

A guard for Context

A handler within the given Context.

A basic handler within the given Args.

A handler within the given Context and Args.

A handle trait for asynchronous context pipeline.

Payload Content Type Detection

Application state factory.

Functions

Creates new Router with empty path

Type Definitions

Dyn Middleware

Middleware List

Multipart Extractor

Result

Tree