Skip to main content

decode_legacy_redis

Function decode_legacy_redis 

Source
pub fn decode_legacy_redis(bytes: &[u8]) -> Result<CacheRead, CacheError>
Expand description

Decodes a 0.5.x Redis value: bincode1(RedisRecord).

The inner payload is 0.5.x’s private StoredEntry, which carried no tags, so the returned entry always has tags: None.