Function axum::body::box_body [−][src]
pub fn box_body<B>(body: B) -> BoxBody where
B: Body<Data = Bytes> + Send + Sync + 'static,
B::Error: Into<BoxError>,
Expand description
Convert a http_body::Body
into a BoxBody
.