[−][src]Trait ciseaux_client::QueryAble
A trait that allow to have a single CiseauxSingle query, and not a query_x per redis commands types (redis::Cmd and redis::Pipeline). Implemented for redis::Cmd and redis::Pipeline (including &, and &mut)
Required methods
#[must_use]fn query<'life0, 'life1, 'async_trait, T: FromRedisValue>(
&'life0 self,
conn: &'life1 mut Connection
) -> Pin<Box<dyn Future<Output = Result<T, RedisError>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
conn: &'life1 mut Connection
) -> Pin<Box<dyn Future<Output = Result<T, RedisError>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Implementations on Foreign Types
impl QueryAble for Cmd
[src]
fn query<'life0, 'life1, 'async_trait, T: FromRedisValue>(
&'life0 self,
conn: &'life1 mut Connection
) -> Pin<Box<dyn Future<Output = Result<T, RedisError>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
conn: &'life1 mut Connection
) -> Pin<Box<dyn Future<Output = Result<T, RedisError>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
impl<'_> QueryAble for &'_ Cmd
[src]
fn query<'life0, 'life1, 'async_trait, T: FromRedisValue>(
&'life0 self,
conn: &'life1 mut Connection
) -> Pin<Box<dyn Future<Output = Result<T, RedisError>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
conn: &'life1 mut Connection
) -> Pin<Box<dyn Future<Output = Result<T, RedisError>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
impl<'_> QueryAble for &'_ mut Cmd
[src]
fn query<'life0, 'life1, 'async_trait, T: FromRedisValue>(
&'life0 self,
conn: &'life1 mut Connection
) -> Pin<Box<dyn Future<Output = Result<T, RedisError>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
conn: &'life1 mut Connection
) -> Pin<Box<dyn Future<Output = Result<T, RedisError>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
impl QueryAble for Pipeline
[src]
fn query<'life0, 'life1, 'async_trait, T: FromRedisValue>(
&'life0 self,
conn: &'life1 mut Connection
) -> Pin<Box<dyn Future<Output = Result<T, RedisError>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
conn: &'life1 mut Connection
) -> Pin<Box<dyn Future<Output = Result<T, RedisError>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
impl<'_> QueryAble for &'_ Pipeline
[src]
fn query<'life0, 'life1, 'async_trait, T: FromRedisValue>(
&'life0 self,
conn: &'life1 mut Connection
) -> Pin<Box<dyn Future<Output = Result<T, RedisError>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
conn: &'life1 mut Connection
) -> Pin<Box<dyn Future<Output = Result<T, RedisError>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
impl<'_> QueryAble for &'_ mut Pipeline
[src]
fn query<'life0, 'life1, 'async_trait, T: FromRedisValue>(
&'life0 self,
conn: &'life1 mut Connection
) -> Pin<Box<dyn Future<Output = Result<T, RedisError>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
conn: &'life1 mut Connection
) -> Pin<Box<dyn Future<Output = Result<T, RedisError>> + Send + 'async_trait>> where
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,