You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use bb8;use bb8_postgres;use futures::future;use futures::prelude::*;use tokio_postgres;use tokio_postgres::NoTls;#[derive(Clone,Debug)]pubstructPool{inner: bb8::Pool<bb8_postgres::PostgresConnectionManager<NoTls>>}implFrom<bb8::Pool<bb8_postgres::PostgresConnectionManager<NoTls>>>forPool{fnfrom(v: bb8::Pool<bb8_postgres::PostgresConnectionManager<NoTls>>) -> Self{Self{inner: v }}}
I am getting following error:
error: the trait bound `tokio_postgres::NoTls: bb8_postgres::tokio_postgres::tls::MakeTlsConnect<bb8_postgres::tokio_postgres::Socket>` is not satisfied
label: the trait `bb8_postgres::tokio_postgres::tls::MakeTlsConnect<bb8_postgres::tokio_postgres::Socket>` is not implemented for `tokio_postgres::NoTls`
The text was updated successfully, but these errors were encountered:
You have a version mismatch going on. You need to use bb8 from master to be able to use tokio-postgres 0.5 (I hope to release a new version of bb8 soon).
I am getting following error:
The text was updated successfully, but these errors were encountered: