pub struct MSQLConnection { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Clone for MSQLConnection
impl Clone for MSQLConnection
Source§fn clone(&self) -> MSQLConnection
fn clone(&self) -> MSQLConnection
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl IConnection for MSQLConnection
impl IConnection for MSQLConnection
Source§impl IExecutor for MSQLConnection
impl IExecutor for MSQLConnection
type Locked = Lock
fn lock(&self) -> DbResult<Self::Locked>
fn get_one<T, F: FnMut(&Row<'_>) -> DbResult<T>>( &self, query: &str, params: &[&dyn ToSql], serializer: F, ) -> DbResult<T>
fn get_many<T, F: FnMut(&Row<'_>) -> DbResult<T>>( &self, query: &str, params: &[&dyn ToSql], serializer: F, ) -> DbResult<Vec<T>>
fn execute(&self, query: &str, params: &[&dyn ToSql]) -> DbResult<()>
fn execute_return_id(&self, query: &str, params: &[&dyn ToSql]) -> DbResult<i64>
Auto Trait Implementations§
impl Freeze for MSQLConnection
impl RefUnwindSafe for MSQLConnection
impl Send for MSQLConnection
impl Sync for MSQLConnection
impl Unpin for MSQLConnection
impl UnwindSafe for MSQLConnection
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