Skip to main content

Crate unwarp

Crate unwarp 

Source

Re-exports§

pub use warp;

Modules§

prelude

Macros§

unwarp
Convenience macro with three forms:

Structs§

JsonRouteBuilder
A RouteBuilder that has been configured to deserialise a JSON body into T.
QueryRouteBuilder
A RouteBuilder that has been configured to deserialise URL query parameters into T.
RouteBuilder
Builder for a single warp route.
Unwarp
A lightweight wrapper around warp that collects routes and serves them.

Enums§

Status
HTTP status codes — use with Unwarp::with_status or Unwarp::json_with_status.

Type Aliases§

_Filter
A fully type-erased warp route whose output has been normalised to warp::reply::Response. Produced by the handle methods on RouteBuilder, JsonRouteBuilder and QueryRouteBuilder.