Function hrpc::server::transport::http::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 body with the correct attributes to a BoxBody
.