Struct nickel_sqlite::SqliteMiddleware [] [src]

pub struct SqliteMiddleware {
    pub pool: Pool<SqliteConnectionManager>,
}

Fields

Methods

impl SqliteMiddleware
[src]

[src]

Create middleware using defaults

The middleware will be setup with the r2d2 defaults.

[src]

Create middleware using pre-built r2d2::Pool

This allows the caller to create and configure the pool with specific settings.

Trait Implementations

impl Key for SqliteMiddleware
[src]

The value type associated with this key type.

impl<D> Middleware<D> for SqliteMiddleware
[src]

[src]