Skip to content

Feature Request (or Question?): Support deadpool / tokio postgres #105

@eiswind

Description

@eiswind

I would appreciate some help with my poor understanding of the type system...

let mut client = db_pool.get().await?.deref_mut().deref_mut();
    let report = embedded::migrations::runner()
        .run_async(&mut client)
        .await?;

using deadpool with tokio-postgres and I get the following compile error (that I do not understand, really :)

 the trait `refinery::AsyncMigrate` is not implemented for `&mut tokio_postgres::client::Client`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions