pub trait IntoResponse {
    fn into_response(
        self
    ) -> Pin<Box<dyn Future<Output = Response<Body>> + Send>>; }
Expand description

Trait for generating responses

Types that implement this trait can be used as return types for handler functions.

Required Methods

Implementations on Foreign Types

Implementors