///Get the number of fields in the hash stored at `key`.
Get the number of fields in the hash stored at `key`.
Get the number of fields in the hash stored at ` key ` .
pub async fn hlen<K>(&mut self, key: K) -> Result<isize>
    where
        K: AsRef<[u8]>,
    {
        self.run_command(Command::new("HLEN").arg(&key))
            .await
            .map(|v| v.unwrap_integer())
    }
pub async fn hlen < K > ( & mut self , key : K ) -> Result < isize > where K : AsRef < [ u8 ] > , { self . run_command ( Command :: new ( " " ) . arg ( & key ) ) . await . map ( | v | v . unwrap_integer ( ) ) }
Get the number of fields in the hash stored at `key`.
Get the number of fields in the hash stored at ` key ` .
&mut self
key
K