Type Definition tonic::transport::AxumBoxBody

source ·
pub type AxumBoxBody = 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.