pub struct Session { /* private fields */ }
Expand description

Working sessions, but not finished

Implementations

Sets a new value in the session

Retrieves a value from the session

Clears all values in the session

Applies all the changes of the session to the response.

It is not the most elegant solution, but soon a new one will be worked out to apply the session changes to the response (probably using layers).

Trait Implementations

Extract function, constructs Self from the request

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.