[][src]Struct warp_sessions::SessionWithStore

pub struct SessionWithStore<S: SessionStore> {
    pub session: Session,
    pub session_store: S,
    pub cookie_options: CookieOptions,
}

SessionWithStore binds a session object with its backing store and some cookie options. This is passed around by routes wanting to do things with a session.

Fields

session: Sessionsession_store: Scookie_options: CookieOptions

Auto Trait Implementations

impl<S> RefUnwindSafe for SessionWithStore<S> where
    S: RefUnwindSafe
[src]

impl<S> Send for SessionWithStore<S>[src]

impl<S> Sync for SessionWithStore<S>[src]

impl<S> Unpin for SessionWithStore<S> where
    S: Unpin
[src]

impl<S> UnwindSafe for SessionWithStore<S> where
    S: UnwindSafe
[src]

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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<V, T> VZip<V> for T where
    V: MultiLane<T>,