pub enum AnyPool {
Sqlite(Arc<SqlitePoolInner>),
}Variants§
Sqlite(Arc<SqlitePoolInner>)
Implementations§
Trait Implementations§
Source§impl<'c> Executor for &'c AnyPool
impl<'c> Executor for &'c AnyPool
type Database = Any
async fn execute( self, sql: &str, arguments: &[Value], ) -> Result<AnyQueryResult, Error>
async fn fetch_all( self, sql: &str, arguments: &[Value], ) -> Result<Vec<AnyRow>, Error>
async fn fetch_optional( self, sql: &str, arguments: &[Value], ) -> Result<Option<AnyRow>, Error>
async fn fetch_one( self, sql: &str, arguments: &[Value], ) -> Result<AnyRow, Error>
Auto Trait Implementations§
impl !RefUnwindSafe for AnyPool
impl !UnwindSafe for AnyPool
impl Freeze for AnyPool
impl Send for AnyPool
impl Sync for AnyPool
impl Unpin for AnyPool
impl UnsafeUnpin for AnyPool
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