Trait IntoResponse

Source
pub trait IntoResponse {
    type Content;

    // Required method
    fn into_outcome(self) -> Response<Self::Content>;
}

Required Associated Types§

Required Methods§

Implementations on Foreign Types§

Source§

impl<T, E> IntoResponse for Result<T, E>
where T: Into<Content<T>>, E: Error,

Implementors§

Source§

impl<T> IntoResponse for T
where T: Into<Content<T>>,