scufflecloud_core_traits/redis.rs
1pub trait RedisInterface: Send + Sync {
2 type RedisConnection<'a>: fred::interfaces::ClientLike + fred::interfaces::KeysInterface
3 where
4 Self: 'a;
5
6 fn redis(&self) -> &Self::RedisConnection<'_>;
7}