Trait actix_service::IntoNewService
source · pub trait IntoNewService<T, Request>where
T: NewService<Request>,{
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