Type Alias tonic::transport::AxumBoxBody

pub type AxumBoxBody = UnsyncBoxBody<Bytes, Error>;
Available on crate feature transport only.
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.

Aliased Type§

struct AxumBoxBody { /* private fields */ }