Expand description
Additional types for generating responses.
Re-exports§
pub use file_stream::FileStream;
file-stream
pub use crate::json_lines::JsonLines;
json-lines
pub use crate::typed_header::TypedHeader;
typed-header
Modules§
- file_
stream file-stream
- Module for handling file streams.
- multiple
multipart
- Generate forms to use in responses.
Structs§
- Attachment
attachment
- A file attachment response.
- Css
- A CSS response.
- Erased
Json erased-json
- A response type that holds a JSON in serialized form.
- Internal
Server Error error-response
- Convenience response to create an error response from a non-
IntoResponse
error - Java
Script - A JavaScript response.
- Wasm
- A WASM response.