Skip to main content

IntoHttpResponse

Trait IntoHttpResponse 

Source
pub trait IntoHttpResponse {
    // Required method
    fn into_http_response(self) -> Response;
}
Expand description

Trait to enable ? operator in handlers

Required Methods§

Implementations on Foreign Types§

Source§

impl<T> IntoHttpResponse for Result<T, RuntimeError>
where T: IntoResponse,

Implementors§