Expand description
Interprets typed HTTP programs as executable Poem routes.
The interpretation chooses Poem’s extractors for input roles, its responses for output kinds, and
Arc for the runtime handle of a semantic context. Those choices stay inside this crate: the
program compiled here is the same value any other interpreter folds.
Structs§
- Poem
Body Input - Marks a JSON value extracted from the request body by Poem.
- Poem
Endpoint - Erases a native Poem endpoint for route composition.
- Poem
File Output - Converts semantic file results into downloadable Poem responses.
- Poem
File Response - Carries a file result and filename until Poem creates the response.
- Poem
Handler Impl - Interprets typed HTTP programs as executable Poem routes.
- Poem
Header Input - Marks a typed value extracted from a request header by Poem.
- Poem
Json Output - Converts semantic results into Poem JSON responses.
- Poem
Path Input - Marks a value extracted from the request path by Poem.
- Poem
Query Input - Marks a value extracted from the query string by Poem.
- Poem
Request Input - Marks a value extracted through Poem’s general request extractor.
- Poem
Route - Carries a composable collection of native Poem endpoints.
- Poem
Route Impl - Interprets categorical route composition as native Poem routing.
- Poem
Selector - Carries route-selection meaning before it is interpreted by Poem.
Traits§
- Poem
File Error Alg - Maps file-opening failures to their HTTP response status.