Struct actix_web::Application [] [src]

pub struct Application<S> { /* fields omitted */ }

Application

Methods

impl Application<()>
[src]

[src]

Create default ApplicationBuilder with no state

impl<S> Application<S> where
    S: 'static, 
[src]

[src]

Create application builder with specific state. State is shared with all routes within same application and could be accessed with HttpContext::state() method.

Trait Implementations

impl<S: 'static> From<ApplicationBuilder<S>> for Application<S>
[src]

[src]

Performs the conversion.