Expand description
Essentials helper functions and types for application registration.
Structs
A cheaply cloneable and sliceable chunk of contiguous memory.
A unique reference to a contiguous slice of memory.
Application data.
URL encoded payload extractor and responder.
Form
extractor configuration.
Extract typed headers from the request.
An incoming request.
An outgoing response.
JSON extractor and responder.
Json
extractor configuration.
Extract typed data from request path segments.
Path extractor configuration
Extract a request’s raw payload stream.
Configuration for request payloads.
Extract typed information from the request’s query.
Query extractor configuration.
Stream that reads request line by line.
Request-local data extractor.
Enables parts of app configuration to be declared separately from the app itself. Helpful for modularizing large applications.
Enums
Combines two extractor or responder types into a single type.
A composite error resulting from failure to extract an Either<L, R>
.
Traits
Read bytes from a buffer.
A trait for values that provide sequential write access to bytes.
Functions
Executes blocking function on a thread pool, returns future that resolves to result of the function execution.
Creates a new route with DELETE
method guard.
Creates a new route with GET
method guard.
Creates a new route with HEAD
method guard.
Creates a new route with specified method guard.
Creates a new route with PATCH
method guard.
Creates a new route with POST
method guard.
Creates a new route with PUT
method guard.
Creates a new resource for a specific path.
Creates a new un-configured route.
Creates scope for common path prefix.
Creates a raw service for a specific path.
Creates a new any-method route with handler.
Creates a new route with TRACE
method guard.