pub trait SingleVersionQueryTransaction: Send {
// Required methods
fn get<'life0, 'life1, 'async_trait>(
&'life0 mut self,
key: &'life1 EncodedKey,
) -> Pin<Box<dyn Future<Output = Result<Option<SingleVersionValues>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn contains_key<'life0, 'life1, 'async_trait>(
&'life0 mut self,
key: &'life1 EncodedKey,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
Single-version query transaction trait. Uses tokio::sync locks which are Send-safe with owned guards.