Struct gotham::middleware::session::SessionMiddleware [] [src]

pub struct SessionMiddleware<B, T> where
    B: Backend,
    T: Default + Serialize + for<'de> Deserialize<'de> + 'static, 
{ /* fields omitted */ }

The per-request value which provides session storage for other middleware and handlers.

See NewSessionMiddleware for usage details.

Trait Implementations

impl<B, T> Middleware for SessionMiddleware<B, T> where
    B: Backend + 'static,
    T: Default + Serialize + for<'de> Deserialize<'de> + 'static, 
[src]

Important traits for Box<W>
[src]

Entry point to the middleware. To pass the request on to the application, the middleware invokes the chain function with the provided state. Read more

Auto Trait Implementations

impl<B, T> Send for SessionMiddleware<B, T> where
    B: Send,
    T: Send

impl<B, T> Sync for SessionMiddleware<B, T> where
    B: Sync,
    T: Sync