Struct finchers_session::Session[][src]

#[must_use = "The value must be convert into a Future to finish the session handling."]
pub struct Session<S: RawSession> { /* fields omitted */ }

A struct which manages the session value per request.

Methods

impl<S> Session<S> where
    S: RawSession
[src]

Get the session value if available.

Set the session value.

Annotates to remove session value to the backend.

Trait Implementations

impl<S: Debug + RawSession> Debug for Session<S>
[src]

Formats the value using the given formatter. Read more

impl<S> IntoFuture for Session<S> where
    S: RawSession
[src]

The item that the future may resolve with.

The error that the future may resolve with.

The future that this type can be converted into.

Consumes this object and produces a future.

Auto Trait Implementations

impl<S> Send for Session<S> where
    S: Send

impl<S> Sync for Session<S> where
    S: Sync