[][src]Trait izanami_http::response::IntoResponse

pub trait IntoResponse {
    fn into_response(self) -> Response;
}

A trait representing the conversion into an HTTP response.

Required methods

fn into_response(self) -> Response

Converts itself into an HTTP response.

Loading content...

Implementations on Foreign Types

impl IntoResponse for ()[src]

impl IntoResponse for StatusCode[src]

impl<T> IntoResponse for Response<T> where
    T: Into<Body>, 
[src]

impl IntoResponse for &'static str[src]

impl IntoResponse for String[src]

impl IntoResponse for Value[src]

Loading content...

Implementors

impl IntoResponse for Redirect[src]

Loading content...