JsonSet

Trait JsonSet 

Source
pub trait JsonSet {
    // Required method
    fn json_set<'life0, 'async_trait, Key, Val>(
        &'life0 mut self,
        key: Key,
        val: Val,
    ) -> Pin<Box<dyn Future<Output = Result<(), JsonSetError>> + Send + 'async_trait>>
       where Key: 'async_trait + ToRedisArgs + Send + Sync,
             Val: 'async_trait + Serialize + Send + Sync,
             Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn json_set<'life0, 'async_trait, Key, Val>( &'life0 mut self, key: Key, val: Val, ) -> Pin<Box<dyn Future<Output = Result<(), JsonSetError>> + Send + 'async_trait>>
where Key: 'async_trait + ToRedisArgs + Send + Sync, Val: 'async_trait + Serialize + Send + Sync, Self: 'async_trait, 'life0: 'async_trait,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<C> JsonSet for C
where C: ConnectionLike + Send + Sync,