pub trait KVReader: Send + Sync {
// Required method
fn get<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
persona_id: &'life1 str,
app_id: &'life2 str,
key: &'life3 str,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait;
}Expand description
Defines basic read operations for the store.
Required Methods§
Sourcefn get<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
persona_id: &'life1 str,
app_id: &'life2 str,
key: &'life3 str,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn get<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
persona_id: &'life1 str,
app_id: &'life2 str,
key: &'life3 str,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Retrieves a value for a specific persona, app, and key.