(cache: Arc<CacheT>)
| 54 | |
| 55 | impl RedisCodec { |
| 56 | pub fn new(cache: Arc<CacheT>) -> Self { |
| 57 | RedisCodec { |
| 58 | cache, |
| 59 | d_state: DecodeState::Cmd, |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | fn decode_cmd(&mut self, buf: &mut BytesMut) -> Result<Option<RedisClientMsg>, io::Error> { |
| 64 | trace!("cap: {}: len: {}", buf.capacity(), buf.len()); |
nothing calls this directly
no outgoing calls
no test coverage detected