Skip to main content

IntoHttpService

Trait IntoHttpService 

Source
pub trait IntoHttpService<B: Send, X> {
    type Service: HttpService<B, ResponseBody = Self::ResponseBody>;
    type ResponseBody;

    // Required method
    fn into_svc(self) -> Self::Service;
}

Required Associated Types§

Source

type Service: HttpService<B, ResponseBody = Self::ResponseBody>

Source

type ResponseBody

Required Methods§

Source

fn into_svc(self) -> Self::Service

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§