Skip to main content
Module body
cratestack
0.12.0
Module body
Module Items
Re-exports
Structs
Functions
In cratestack::
axum
cratestack
::
axum
Module
body
Copy item path
Expand description
HTTP body utilities.
Re-exports
§
pub use body::Body as HttpBody;
pub use body::Bytes;
Structs
§
Body
The body type used in axum requests and responses.
Body
Data
Stream
A stream of data frames.
Functions
§
to_
bytes
Converts
Body
into [
Bytes
] and limits the maximum size of the body.