pub struct EmptyDatabase;Trait Implementations§
Source§impl Clone for EmptyDatabase
impl Clone for EmptyDatabase
Source§fn clone(&self) -> EmptyDatabase
fn clone(&self) -> EmptyDatabase
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 moreimpl 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<'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
Source§impl Default for EmptyDatabase
impl Default for EmptyDatabase
Source§fn default() -> EmptyDatabase
fn default() -> EmptyDatabase
Returns the “default value” for a type. Read more
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