Function axum_core::body::boxed

source ·
pub fn boxed<B>(body: B) -> BoxBody
where B: Body<Data = Bytes> + Send + 'static, B::Error: Into<BoxError>,
Expand description

Convert a http_body::Body into a BoxBody.