[][src]Trait actix_service::IntoService

pub trait IntoService<T> where
    T: Service
{ fn into_service(self) -> T; }

Trait for types that can be converted to a Service

Required methods

fn into_service(self) -> T

Convert to a Service

Loading content...

Implementors

impl<F, Req, Out> IntoService<ServiceFn<F, Req, Out>> for F where
    F: FnMut(Req) -> Out,
    Out: IntoFuture
[src]

impl<T> IntoService<T> for T where
    T: Service
[src]

Loading content...