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§
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>>
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.