Expand description
§vld-redis
Redis integration for vld.
§Overview
vld-redis keeps one entrypoint macro:
impl_to_redis!(conn)
After rebinding, conn becomes a validating wrapper with auto conversion for:
set/getmset/mgethset/hgetlpush/rpush/lpop/rpopsadd/smemberszadd/zrangepublish
All other native Redis methods are still available through deref to the inner connection.
Re-exports§
pub use vld;
Modules§
Macros§
- impl_
to_ redis - Rebind Redis connection into
vld-aware connection with native-like calls.
Structs§
- Redis
Conn - Redis connection wrapper with validate+JSON behavior.