Trait cosworth::prelude::server::IntoHttpHandler
source · pub trait IntoHttpHandler {
type Handler: HttpHandler;
fn into_handler(self) -> Self::Handler;
}
Expand description
Conversion helper trait
Required Associated Types§
sourcetype Handler: HttpHandler
type Handler: HttpHandler
The associated type which is result of conversion.
Required Methods§
sourcefn into_handler(self) -> Self::Handler
fn into_handler(self) -> Self::Handler
Convert into HttpHandler
object.