Trait poem::web::IntoResponse[][src]

pub trait IntoResponse {
    fn into_response(self) -> Result<Response>;
}
Expand description

Trait for generating responses.

Types that implement IntoResponse can be returned from endpoints/handlers.

Required methods

Consume itself and return Response.

Implementations on Foreign Types

Implementors