pub trait ToBytesMap { // Required method fn to_map(&self) -> Option<BTreeMap<Bytes, Bytes>>; }
Trait for converting RESP2 arrays or RESP3 maps
Converts the frame to map Returns None in case of protocol violation