[−][src]Trait tokio_service::NewService
Creates new Service
values.
Associated Types
type Request
Requests handled by the service
type Response
Responses given by the service
type Error
Errors produced by the service
type Instance: Service<Request = Self::Request, Response = Self::Response, Error = Self::Error>
The Service
value created by this factory
Required methods
fn new_service(&self) -> Result<Self::Instance>
Create and return a new service value.