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

pub struct SessionMiddleware<B, T> where
    B: Backend,
    T: Default + Serialize + for<'de> Deserialize<'de> + Send + '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 + Send + 'static,
    T: Default + Serialize + for<'de> Deserialize<'de> + Send + 'static, 
[src]

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T