Trait actix_web::server::IntoHttpHandler [−][src]
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.
Required Methods
fn into_handler(self) -> Self::Handler
Convert into HttpHandler object.
Implementors
impl<S: 'static> IntoHttpHandler for App<S> type Handler = HttpApplication<S>;impl<'a, S: 'static> IntoHttpHandler for &'a mut App<S> type Handler = HttpApplication<S>;impl<T: HttpHandler> IntoHttpHandler for T type Handler = T;impl<S: 'static> IntoHttpHandler for TestApp<S> type Handler = HttpApplication<S>;