Trait actix_service::IntoServiceFactory

source ·
pub trait IntoServiceFactory<SF, Req>
where SF: ServiceFactory<Req>,
{ // Required method fn into_factory(self) -> SF; }
Expand description

Trait for types that can be converted to a ServiceFactory

Required Methods§

source

fn into_factory(self) -> SF

Convert Self to a ServiceFactory

Implementors§

source§

impl<SF, Req> IntoServiceFactory<SF, Req> for SF
where SF: ServiceFactory<Req>,