actix_service

Trait IntoService

Source
pub trait IntoService<S, Req>
where S: Service<Req>,
{ // Required method fn into_service(self) -> S; }
Expand description

Trait for types that can be converted to a Service

Required Methods§

Source

fn into_service(self) -> S

Convert to a Service

Implementors§

Source§

impl<S, Req> IntoService<S, Req> for S
where S: Service<Req>,