Struct finchers_session::redis::RedisBackend[][src]

pub struct RedisBackend { /* fields omitted */ }

The instance of SessionBackend which uses Redis.

Methods

impl RedisBackend
[src]

Create a new RedisSessionBackend from the specified Redis client.

Set the prefix string used in the key name when stores the session value to Redis.

The default value is "finchers-session"

Set the name of Cookie entry which stores the session id.

The default value is "session-id"

Set the timeout of session value.

Trait Implementations

impl Debug for RedisBackend
[src]

Formats the value using the given formatter. Read more

impl Clone for RedisBackend
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Endpoint<'a> for RedisBackend
[src]

The inner type associated with this endpoint.

The type of value which will be returned from apply.

Perform checking the incoming HTTP request and returns an instance of the associated Future if matched. Read more

Add an annotation that the associated type Output is fixed to T.

Converts self using the provided Wrapper.

Auto Trait Implementations