pub struct DbConnection { /* private fields */ }
Implementations§
Source§impl DbConnection
impl DbConnection
Source§impl DbConnection
impl DbConnection
Source§impl DbConnection
impl DbConnection
pub fn query_stream( &self, statement: &str, params: &[DbValue], ) -> Result<DbResultStream, Error>
Source§impl DbConnection
impl DbConnection
Source§impl DbConnection
impl DbConnection
pub fn begin_transaction(&self) -> Result<DbTransaction, Error>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for DbConnection
impl RefUnwindSafe for DbConnection
impl Send for DbConnection
impl Sync for DbConnection
impl Unpin for DbConnection
impl UnwindSafe for DbConnection
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