pub trait IntoResponse {
    // Required method
    fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>;
}
Expand description

Trait for generating responses.

Types that implement IntoResponse can be returned from handlers.

Implementing IntoResponse

You generally shouldn’t have to implement IntoResponse manually, as axum provides implementations for many common types.

However it might be necessary if you have a custom error type that you want to return from handlers:

use axum::{
    Router,
    body::{self, Bytes},
    routing::get,
    http::StatusCode,
    response::{IntoResponse, Response},
};

enum MyError {
    SomethingWentWrong,
    SomethingElseWentWrong,
}

impl IntoResponse for MyError {
    fn into_response(self) -> Response {
        let body = match self {
            MyError::SomethingWentWrong => "something went wrong",
            MyError::SomethingElseWentWrong => "something else went wrong",
        };

        // its often easiest to implement `IntoResponse` by calling other implementations
        (StatusCode::INTERNAL_SERVER_ERROR, body).into_response()
    }
}

// `Result<impl IntoResponse, MyError>` can now be returned from handlers
let app = Router::new().route("/", get(handler));

async fn handler() -> Result<(), MyError> {
    Err(MyError::SomethingWentWrong)
}

Or if you have a custom body type you’ll also need to implement IntoResponse for it:

use axum::{
    body,
    routing::get,
    response::{IntoResponse, Response},
    Router,
};
use http_body::Body;
use http::HeaderMap;
use bytes::Bytes;
use std::{
    convert::Infallible,
    task::{Poll, Context},
    pin::Pin,
};

struct MyBody;

// First implement `Body` for `MyBody`. This could for example use
// some custom streaming protocol.
impl Body for MyBody {
    type Data = Bytes;
    type Error = Infallible;

    fn poll_data(
        self: Pin<&mut Self>,
        cx: &mut Context<'_>
    ) -> Poll<Option<Result<Self::Data, Self::Error>>> {
        // ...
    }

    fn poll_trailers(
        self: Pin<&mut Self>,
        cx: &mut Context<'_>
    ) -> Poll<Result<Option<HeaderMap>, Self::Error>> {
        // ...
    }
}

// Now we can implement `IntoResponse` directly for `MyBody`
impl IntoResponse for MyBody {
    fn into_response(self) -> Response {
        Response::new(body::boxed(self))
    }
}

// `MyBody` can now be returned from handlers.
let app = Router::new().route("/", get(|| async { MyBody }));

Required Methods§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

Create a response.

Implementations on Foreign Types§

source§

impl IntoResponse for JsonSyntaxError

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl IntoResponse for FailedToDeserializePathParams

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl IntoResponse for HostRejection

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl<T> IntoResponse for Json<T>where T: Serialize,

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl IntoResponse for FailedToDeserializeFormBody

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl IntoResponse for RawPathParamsRejection

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl IntoResponse for FormRejection

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl IntoResponse for ExtensionRejection

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl IntoResponse for RawFormRejection

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl<S> IntoResponse for StreamBody<S>where S: TryStream + Send + 'static, <S as TryStream>::Ok: Into<Bytes>, <S as TryStream>::Error: Into<Box<dyn Error + Sync + Send, Global>>,

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl IntoResponse for InvalidUtf8InPathParam

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl IntoResponse for MissingExtension

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl IntoResponse for MissingJsonContentType

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl IntoResponse for MatchedPathRejection

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl IntoResponse for JsonDataError

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl IntoResponse for InvalidFormContentType

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl IntoResponse for FailedToDeserializeQueryString

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl IntoResponse for PathRejection

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl IntoResponse for TypedHeaderRejection

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl IntoResponse for MissingPathParams

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl IntoResponse for FailedToResolveHost

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl IntoResponse for QueryRejection

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl<T> IntoResponse for TypedHeader<T>where T: Header,

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl IntoResponse for JsonRejection

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl<S, E> IntoResponse for Sse<S>where S: Stream<Item = Result<Event, E>> + Send + 'static, E: Into<Box<dyn Error + Sync + Send, Global>>,

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl IntoResponse for FailedToDeserializeForm

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl IntoResponse for MatchedPathMissing

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl IntoResponse for Cow<'static, [u8]>

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl IntoResponse for Parts

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R> IntoResponse for (Parts, R)where R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> IntoResponse for (Response<()>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, T11: IntoResponseParts, T12: IntoResponseParts, T13: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> IntoResponse for (StatusCode, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, T11: IntoResponseParts, T12: IntoResponseParts, T13: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl IntoResponse for Full<Bytes>

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8> IntoResponse for (Parts, T1, T2, T3, T4, T5, T6, T7, T8, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3> IntoResponse for (T1, T2, T3, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl IntoResponse for Cow<'static, str>

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> IntoResponse for (Parts, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, T11: IntoResponseParts, T12: IntoResponseParts, T13: IntoResponseParts, T14: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl IntoResponse for Infallible

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7> IntoResponse for (Response<()>, T1, T2, T3, T4, T5, T6, T7, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<B, F> IntoResponse for MapData<B, F>where B: Body + Send + 'static, F: FnMut(<B as Body>::Data) -> Bytes + Send + 'static, <B as Body>::Error: Into<Box<dyn Error + Sync + Send, Global>>,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> IntoResponse for (Response<()>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, T11: IntoResponseParts, T12: IntoResponseParts, T13: IntoResponseParts, T14: IntoResponseParts, T15: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5> IntoResponse for (Response<()>, T1, T2, T3, T4, T5, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2> IntoResponse for (StatusCode, T1, T2, R)where T1: IntoResponseParts, T2: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<const N: usize> IntoResponse for [u8; N]

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4> IntoResponse for (StatusCode, T1, T2, T3, T4, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl IntoResponse for Extensions

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> IntoResponse for (Parts, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, T11: IntoResponseParts, T12: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<E> IntoResponse for UnsyncBoxBody<Bytes, E>where E: Into<Box<dyn Error + Sync + Send, Global>> + 'static,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> IntoResponse for (StatusCode, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2> IntoResponse for (Parts, T1, T2, R)where T1: IntoResponseParts, T2: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> IntoResponse for (Parts, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> IntoResponse for (StatusCode, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, T11: IntoResponseParts, T12: IntoResponseParts, T13: IntoResponseParts, T14: IntoResponseParts, T15: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> IntoResponse for (Parts, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, T11: IntoResponseParts, T12: IntoResponseParts, T13: IntoResponseParts, T14: IntoResponseParts, T15: IntoResponseParts, T16: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1> IntoResponse for (Response<()>, T1, R)where T1: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5> IntoResponse for (Parts, T1, T2, T3, T4, T5, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> IntoResponse for (Response<()>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, T11: IntoResponseParts, T12: IntoResponseParts, T13: IntoResponseParts, T14: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3> IntoResponse for (Response<()>, T1, T2, T3, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> IntoResponse for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, T11: IntoResponseParts, T12: IntoResponseParts, T13: IntoResponseParts, T14: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> IntoResponse for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, T11: IntoResponseParts, T12: IntoResponseParts, T13: IntoResponseParts, T14: IntoResponseParts, T15: IntoResponseParts, T16: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3> IntoResponse for (Parts, T1, T2, T3, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl IntoResponse for &'static str

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> IntoResponse for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, T11: IntoResponseParts, T12: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3> IntoResponse for (StatusCode, T1, T2, T3, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R> IntoResponse for (StatusCode, R)where R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> IntoResponse for (Parts, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, T11: IntoResponseParts, T12: IntoResponseParts, T13: IntoResponseParts, T14: IntoResponseParts, T15: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4> IntoResponse for (Response<()>, T1, T2, T3, T4, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6> IntoResponse for (StatusCode, T1, T2, T3, T4, T5, T6, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl IntoResponse for Vec<u8, Global>

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl IntoResponse for String

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5> IntoResponse for (StatusCode, T1, T2, T3, T4, T5, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4> IntoResponse for (T1, T2, T3, T4, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9> IntoResponse for (Response<()>, T1, T2, T3, T4, T5, T6, T7, T8, T9, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R> IntoResponse for (Response<()>, R)where R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> IntoResponse for (StatusCode, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, T11: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> IntoResponse for (StatusCode, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, T11: IntoResponseParts, T12: IntoResponseParts, T13: IntoResponseParts, T14: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7> IntoResponse for (T1, T2, T3, T4, T5, T6, T7, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> IntoResponse for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, T11: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<const N: usize> IntoResponse for &'static [u8; N]

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl IntoResponse for BytesMut

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8> IntoResponse for (StatusCode, T1, T2, T3, T4, T5, T6, T7, T8, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<B, F, E> IntoResponse for MapErr<B, F>where B: Body<Data = Bytes> + Send + 'static, F: FnMut(<B as Body>::Error) -> E + Send + 'static, E: Into<Box<dyn Error + Sync + Send, Global>>,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1> IntoResponse for (Parts, T1, R)where T1: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> IntoResponse for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, T11: IntoResponseParts, T12: IntoResponseParts, T13: IntoResponseParts, T14: IntoResponseParts, T15: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> IntoResponse for (Response<()>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, T11: IntoResponseParts, T12: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6> IntoResponse for (T1, T2, T3, T4, T5, T6, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> IntoResponse for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, T11: IntoResponseParts, T12: IntoResponseParts, T13: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9> IntoResponse for (StatusCode, T1, T2, T3, T4, T5, T6, T7, T8, T9, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl IntoResponse for Bytes

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9> IntoResponse for (T1, T2, T3, T4, T5, T6, T7, T8, T9, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5> IntoResponse for (T1, T2, T3, T4, T5, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> IntoResponse for (Response<()>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, T11: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> IntoResponse for (Response<()>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, T11: IntoResponseParts, T12: IntoResponseParts, T13: IntoResponseParts, T14: IntoResponseParts, T15: IntoResponseParts, T16: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> IntoResponse for (Parts, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, T11: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> IntoResponse for (Parts, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, T11: IntoResponseParts, T12: IntoResponseParts, T13: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7> IntoResponse for (StatusCode, T1, T2, T3, T4, T5, T6, T7, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl IntoResponse for ()

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1> IntoResponse for (StatusCode, T1, R)where T1: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> IntoResponse for (Response<()>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9> IntoResponse for (Parts, T1, T2, T3, T4, T5, T6, T7, T8, T9, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1> IntoResponse for (T1, R)where T1: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6> IntoResponse for (Parts, T1, T2, T3, T4, T5, T6, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8> IntoResponse for (Response<()>, T1, T2, T3, T4, T5, T6, T7, T8, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8> IntoResponse for (T1, T2, T3, T4, T5, T6, T7, T8, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<K, V, const N: usize> IntoResponse for [(K, V); N]where K: TryInto<HeaderName>, <K as TryInto<HeaderName>>::Error: Display, V: TryInto<HeaderValue>, <V as TryInto<HeaderValue>>::Error: Display,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl IntoResponse for &'static [u8]

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6> IntoResponse for (Response<()>, T1, T2, T3, T4, T5, T6, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl IntoResponse for Empty<Bytes>

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4> IntoResponse for (Parts, T1, T2, T3, T4, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<E> IntoResponse for BoxBody<Bytes, E>where E: Into<Box<dyn Error + Sync + Send, Global>> + 'static,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<T, U> IntoResponse for Chain<T, U>where T: Buf + Unpin + Send + 'static, U: Buf + Unpin + Send + 'static,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> IntoResponse for (StatusCode, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, T11: IntoResponseParts, T12: IntoResponseParts, T13: IntoResponseParts, T14: IntoResponseParts, T15: IntoResponseParts, T16: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> IntoResponse for (StatusCode, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, T11: IntoResponseParts, T12: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> IntoResponse for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, T8: IntoResponseParts, T9: IntoResponseParts, T10: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2, T3, T4, T5, T6, T7> IntoResponse for (Parts, T1, T2, T3, T4, T5, T6, T7, R)where T1: IntoResponseParts, T2: IntoResponseParts, T3: IntoResponseParts, T4: IntoResponseParts, T5: IntoResponseParts, T6: IntoResponseParts, T7: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2> IntoResponse for (Response<()>, T1, T2, R)where T1: IntoResponseParts, T2: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl<R, T1, T2> IntoResponse for (T1, T2, R)where T1: IntoResponseParts, T2: IntoResponseParts, R: IntoResponse,

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

§

impl IntoResponse for HeaderMap<HeaderValue>

§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl<T> IntoResponse for Wasm<T>where T: IntoResponse,

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl<E1, E2, E3, E4, E5, E6> IntoResponse for Either6<E1, E2, E3, E4, E5, E6>where E1: IntoResponse, E2: IntoResponse, E3: IntoResponse, E4: IntoResponse, E5: IntoResponse, E6: IntoResponse,

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl<E1, E2, E3, E4> IntoResponse for Either4<E1, E2, E3, E4>where E1: IntoResponse, E2: IntoResponse, E3: IntoResponse, E4: IntoResponse,

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl<E1, E2> IntoResponse for Either<E1, E2>where E1: IntoResponse, E2: IntoResponse,

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl IntoResponse for CookieJar

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl<E1, E2, E3, E4, E5, E6, E7> IntoResponse for Either7<E1, E2, E3, E4, E5, E6, E7>where E1: IntoResponse, E2: IntoResponse, E3: IntoResponse, E4: IntoResponse, E5: IntoResponse, E6: IntoResponse, E7: IntoResponse,

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl<T> IntoResponse for Html<T>where T: IntoResponse,

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl<E1, E2, E3, E4, E5> IntoResponse for Either5<E1, E2, E3, E4, E5>where E1: IntoResponse, E2: IntoResponse, E3: IntoResponse, E4: IntoResponse, E5: IntoResponse,

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl<E1, E2, E3> IntoResponse for Either3<E1, E2, E3>where E1: IntoResponse, E2: IntoResponse, E3: IntoResponse,

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl<T> IntoResponse for JavaScript<T>where T: IntoResponse,

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl<T> IntoResponse for Css<T>where T: IntoResponse,

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl<E1, E2, E3, E4, E5, E6, E7, E8> IntoResponse for Either8<E1, E2, E3, E4, E5, E6, E7, E8>where E1: IntoResponse, E2: IntoResponse, E3: IntoResponse, E4: IntoResponse, E5: IntoResponse, E6: IntoResponse, E7: IntoResponse, E8: IntoResponse,

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

source§

impl<K> IntoResponse for SignedCookieJar<K>

source§

fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>

Implementors§

source§

impl IntoResponse for Redirect

source§

impl IntoResponse for ResponseError

§

impl IntoResponse for StatusCode

§

impl IntoResponse for BytesRejection

§

impl IntoResponse for FailedToBufferBody

§

impl IntoResponse for InvalidUtf8

§

impl IntoResponse for LengthLimitError

§

impl IntoResponse for StringRejection

§

impl IntoResponse for UnknownBodyError

§

impl<B> IntoResponse for Response<B>where B: Body<Data = Bytes> + Send + 'static, <B as Body>::Error: Into<Box<dyn Error + Sync + Send, Global>>,

§

impl<I, K, V> IntoResponse for AppendHeaders<I>where I: IntoIterator<Item = (K, V)>, K: TryInto<HeaderName>, <K as TryInto<HeaderName>>::Error: Display, V: TryInto<HeaderValue>, <V as TryInto<HeaderValue>>::Error: Display,

§

impl<K, V> IntoResponse for TryIntoHeaderError<K, V>where K: Display, V: Display,

§

impl<T> IntoResponse for Result<T, ErrorResponse>where T: IntoResponse,

source§

impl<T> IntoResponse for Extension<T>where T: Send + Sync + 'static,

source§

impl<T> IntoResponse for Form<T>where T: Serialize,

source§

impl<T> IntoResponse for mailpot_web::Html<T>where T: Into<Full<Bytes>>,

§

impl<T, E> IntoResponse for Result<T, E>where T: IntoResponse, E: IntoResponse,