[][src]Struct carapax_session::BaseSessionManager

pub struct BaseSessionManager<B> { /* fields omitted */ }

A session manager

Methods

impl<B> SessionManager<B> where
    B: SessionBackend
[src]

pub fn new(backend: B) -> SessionManager<B>[src]

Creates a new session manager

Arguments

  • backend - A session backend

pub fn get_session<I>(&self, id: I) -> Session<B> where
    I: Into<String>, 
[src]

Returns a session for ID

Trait Implementations

impl<B> Clone for SessionManager<B> where
    B: Clone
[src]

Auto Trait Implementations

impl<B> !RefUnwindSafe for SessionManager<B>

impl<B> Send for SessionManager<B> where
    B: Send

impl<B> Sync for SessionManager<B> where
    B: Send

impl<B> Unpin for SessionManager<B>

impl<B> !UnwindSafe for SessionManager<B>

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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.