pub struct Real;
Trait Implementations§
source§impl PartialEq for Real
impl PartialEq for Real
source§impl Stats for Real
impl Stats for Real
source§fn record_fetch<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
d: &'life1 Data,
key: &'life2 str
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn record_fetch<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
d: &'life1 Data,
key: &'life2 str
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
record PoWConfig fetches
source§fn record_solve<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
d: &'life1 Data,
key: &'life2 str
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn record_solve<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
d: &'life1 Data,
key: &'life2 str
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
record PoWConfig solves
source§fn record_confirm<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
d: &'life1 Data,
key: &'life2 str
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn record_confirm<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
d: &'life1 Data,
key: &'life2 str
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
record PoWConfig confirms
source§fn fetch<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
d: &'life1 Data,
user: &'life2 str,
key: &'life3 str
) -> Pin<Box<dyn Future<Output = DBResult<CaptchaStats>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn fetch<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
d: &'life1 Data,
user: &'life2 str,
key: &'life3 str
) -> Pin<Box<dyn Future<Output = DBResult<CaptchaStats>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fetch stats
impl StructuralPartialEq for Real
Auto Trait Implementations§
impl RefUnwindSafe for Real
impl Send for Real
impl Sync for Real
impl Unpin for Real
impl UnwindSafe for Real
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
source§impl<T> CloneStats for T
impl<T> CloneStats for T
source§fn clone_stats(&self) -> Box<dyn Stats>
fn clone_stats(&self) -> Box<dyn Stats>
clone DB