Trait actix_net::service::IntoNewService
source · pub trait IntoNewService<T>where
T: NewService,{
fn into_new_service(self) -> T;
}
Expand description
Trait for types that can be converted to a Service
Required Methods§
sourcefn into_new_service(self) -> T
fn into_new_service(self) -> T
Convert to an NewService