pub struct RSQLConnection { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for RSQLConnection
impl Clone for RSQLConnection
Source§fn clone(&self) -> RSQLConnection
fn clone(&self) -> RSQLConnection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RSQLConnection
impl IConnection for RSQLConnection
Source§impl IExecutor for RSQLConnection
impl IExecutor for RSQLConnection
type Locked = RSQLConnection
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 RSQLConnection
impl !RefUnwindSafe for RSQLConnection
impl !Send for RSQLConnection
impl !Sync for RSQLConnection
impl Unpin for RSQLConnection
impl UnsafeUnpin for RSQLConnection
impl !UnwindSafe for RSQLConnection
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