[−][src]Trait actix_web::middleware::session::SessionBackend
Session's storage backend trait definition.
Associated Types
type Session: SessionImpl
Session item
type ReadFuture: Future<Item = Self::Session, Error = Error>
Future that reads session
Required Methods
fn from_request(&self, request: &mut HttpRequest<S>) -> Self::ReadFuture
Parse the session from request and load data from a storage backend.
Implementors
impl<S> SessionBackend<S> for CookieSessionBackend
[src]
impl<S> SessionBackend<S> for CookieSessionBackend
type Session = CookieSession
type ReadFuture = FutureResult<CookieSession, Error>
fn from_request(&self, req: &mut HttpRequest<S>) -> Self::ReadFuture
[src]
fn from_request(&self, req: &mut HttpRequest<S>) -> Self::ReadFuture