[][src]Trait actix_web::middleware::session::SessionBackend

pub trait SessionBackend<S>: Sized + 'static {
    type Session: SessionImpl;
    type ReadFuture: Future<Item = Self::Session, Error = Error>;
    fn from_request(&self, request: &mut HttpRequest<S>) -> Self::ReadFuture;
}

Session's storage backend trait definition.

Associated Types

Session item

Future that reads session

Required Methods

Parse the session from request and load data from a storage backend.

Implementors

impl<S> SessionBackend<S> for CookieSessionBackend
[src]