actix_service

Trait 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>,