Type Definition axum::body::BoxBody

source ·
pub type BoxBody = UnsyncBoxBody<Bytes, Error>;
Expand description

A boxed Body trait object.

This is used in axum as the response body type for applications. It’s necessary to unify multiple response bodies types into one.