Struct pronghorn::app::App
[−]
[src]
pub struct App { pub router: Router, pub pool: CpuPool, }
Fields
router: Router
pool: CpuPool
Methods
impl App
[src]
Trait Implementations
impl Service for App
[src]
type Request = Request
Requests handled by the service.
type Response = Response
Responses given by the service.
type Error = Error
Errors produced by the service.
type Future = Box<Future<Item = Self::Response, Error = Self::Error>>
The future response value.
fn call(&self, req: Request) -> Self::Future
[src]
Process the request and return the response asynchronously.