pub struct PostgresDriver {}Implementations§
Trait Implementations§
Source§impl Driver for PostgresDriver
impl Driver for PostgresDriver
const NAME: &'static str = "postgres"
type Connection = PostgresConnection
type SqlWriter = PostgresSqlWriter
type Prepared = PostgresPrepared
fn sql_writer(&self) -> PostgresSqlWriter
fn connect( &self, url: Cow<'static, str>, ) -> impl Future<Output = Result<impl Connection, Error>>
Source§impl DriverTransactional for PostgresDriver
impl DriverTransactional for PostgresDriver
type Transaction<'c> = PostgresTransaction<'c>
Auto Trait Implementations§
impl Freeze for PostgresDriver
impl RefUnwindSafe for PostgresDriver
impl Send for PostgresDriver
impl Sync for PostgresDriver
impl Unpin for PostgresDriver
impl UnwindSafe for PostgresDriver
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more