pub trait YedbClientAsyncExt {
Show 25 methods
fn key_list<'life0, 'life1, 'async_trait>(
&'life0 mut self,
key: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Vec<String>, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn key_list_all<'life0, 'life1, 'async_trait>(
&'life0 mut self,
key: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Vec<String>, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn key_get<'life0, 'life1, 'async_trait>(
&'life0 mut self,
key: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Value, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn key_get_field<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
key: &'life1 str,
field: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<Value, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait;
fn key_get_recursive<'life0, 'life1, 'async_trait>(
&'life0 mut self,
key: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Vec<(String, Value)>, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn key_copy<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
key: &'life1 str,
dst_key: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait;
fn key_rename<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
key: &'life1 str,
dst_key: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait;
fn key_explain<'life0, 'life1, 'async_trait>(
&'life0 mut self,
key: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<KeyExplained, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn key_set<'life0, 'life1, 'async_trait>(
&'life0 mut self,
key: &'life1 str,
value: Value
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn key_set_field<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
key: &'life1 str,
field: &'life2 str,
value: Value
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait;
fn key_delete_field<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
key: &'life1 str,
field: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait;
fn key_increment<'life0, 'life1, 'async_trait>(
&'life0 mut self,
key: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<i64, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn key_decrement<'life0, 'life1, 'async_trait>(
&'life0 mut self,
key: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<i64, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn key_delete<'life0, 'life1, 'async_trait>(
&'life0 mut self,
key: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn key_delete_recursive<'life0, 'life1, 'async_trait>(
&'life0 mut self,
key: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn server_set<'life0, 'life1, 'async_trait>(
&'life0 mut self,
name: &'life1 str,
value: Value
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn info<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<DBInfo, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn test<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn check<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Vec<String>, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn repair<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Vec<(String, bool)>, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn purge<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Vec<String>, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn purge_cache<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn safe_purge<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn key_dump<'life0, 'life1, 'async_trait>(
&'life0 mut self,
key: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Vec<(String, Value)>, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn key_load<'life0, 'async_trait>(
&'life0 mut self,
data: Vec<(String, Value)>
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
}