[][src]Trait diesel::r2d2::R2D2Connection

pub trait R2D2Connection: Connection {
    fn ping(&self) -> QueryResult<()>;
}

A trait indicating a connection could be used inside a r2d2 pool

Required methods

fn ping(&self) -> QueryResult<()>

Check if a connection is still valid

Loading content...

Implementors

impl R2D2Connection for PgConnection[src]

impl R2D2Connection for MysqlConnection[src]

impl R2D2Connection for SqliteConnection[src]

Loading content...