MY_SQL_SESSION_STORE_NEW

Constant MY_SQL_SESSION_STORE_NEW 

Source
pub const MY_SQL_SESSION_STORE_NEW: Constructor;
Expand description

A handle to add MySqlSessionStore::new() as a constructor to your Pavex application.

§Example

use pavex::Blueprint;
// [...]
// ^ Import `MY_SQL_SESSION_STORE_NEW` here

let mut bp = Blueprint::new();
// Add `MySqlSessionStore::new()` as a constructor to your application.
bp.constructor(MY_SQL_SESSION_STORE_NEW);