[][src]Trait actix_web::server::IntoHttpHandler

pub trait IntoHttpHandler {
    type Handler: HttpHandler;
    fn into_handler(self) -> Self::Handler;
}

Conversion helper trait

Associated Types

type Handler: HttpHandler

The associated type which is result of conversion.

Loading content...

Required methods

fn into_handler(self) -> Self::Handler

Convert into HttpHandler object.

Loading content...

Implementors

impl<'a, S: 'static> IntoHttpHandler for &'a mut App<S>[src]

type Handler = HttpApplication<S>

impl<S: 'static> IntoHttpHandler for App<S>[src]

type Handler = HttpApplication<S>

impl<S: 'static> IntoHttpHandler for TestApp<S>[src]

type Handler = HttpApplication<S>

impl<T: HttpHandler> IntoHttpHandler for T[src]

type Handler = T

Loading content...