Module viz::prelude [−][src]
Expand description
Prelude some stuff
Modules
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.
Responds a custom error to response.
Structs
Viz App
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.
Header Extractor
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
A route handler
Router
A listening HTTP server that accepts connections in both HTTP1 and HTTP2 by default.
Application state.
Enums
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
Type Definitions
Dyn Middleware
Middleware List
Multipart Extractor
Result
Tree