pub struct Postgres { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Database for Postgres
impl Database for Postgres
Source§fn execute(&mut self, call: &Call<'_>) -> Answer
fn execute(&mut self, call: &Call<'_>) -> Answer
Two rows are enough to tell a SELECT INTO’s one row from its too many.
fn open(&mut self, call: &Call<'_>) -> Answer
fn close(&mut self, call: &Call<'_>) -> Answer
fn commit(&mut self, _: &Call<'_>) -> Answer
fn rollback(&mut self, _: &Call<'_>) -> Answer
Auto Trait Implementations§
impl !RefUnwindSafe for Postgres
impl !Sync for Postgres
impl !UnwindSafe for Postgres
impl Freeze for Postgres
impl Send for Postgres
impl Unpin for Postgres
impl UnsafeUnpin for Postgres
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