pub struct EmptyDatabase;Trait Implementations§
Source§impl Clone for EmptyDatabase
impl Clone for EmptyDatabase
impl Copy for EmptyDatabase
Source§impl Database for EmptyDatabase
impl Database for EmptyDatabase
fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
stmt: &'life1 Statement,
) -> Pin<Box<dyn Future<Output = Result<u64, DbError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn query<'life0, 'life1, 'async_trait>(
&'life0 self,
stmt: &'life1 Statement,
) -> Pin<Box<dyn Future<Output = Result<Rows, DbError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn batch_atomic<'life0, 'life1, 'async_trait>(
&'life0 self,
_stmts: &'life1 [Statement],
) -> Pin<Box<dyn Future<Output = Result<(), DbError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§impl Debug for EmptyDatabase
impl Debug for EmptyDatabase
Auto Trait Implementations§
impl Freeze for EmptyDatabase
impl RefUnwindSafe for EmptyDatabase
impl Send for EmptyDatabase
impl Sync for EmptyDatabase
impl Unpin for EmptyDatabase
impl UnsafeUnpin for EmptyDatabase
impl UnwindSafe for EmptyDatabase
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