Type Alias axum_core::response::Response

source ·
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§

source§

impl<B> IntoResponse for Response<B>
where B: Body<Data = Bytes> + Send + 'static, B::Error: Into<BoxError>,

source§

fn into_response(self) -> Response

Create a response.