pub type Response<T = Body> = Response<T>;
Expand description
Type alias for http::Response
whose body type defaults to Body
, the most common body
type used with axum.
Aliased Type§
struct Response<T = Body> { /* private fields */ }
Trait Implementations§
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.