///Set `key` to expire at Unix timestamp `timestamp`, measured in seconds.
Set `key` to expire at Unix timestamp `timestamp`, measured in seconds.
Set ` key ` to expire at Unix timestamp ` timestamp ` measured in seconds .
pub async fn expire_at_seconds<K>(&mut self, key: K, timestamp: u64) -> Result<isize>
    where
        K: AsRef<[u8]>,
    {
        let timestamp = timestamp.to_string();
        let command = Command::new("EXPIREAT").arg(&key).arg(&timestamp);
        self.run_command(command).await.map(|i| i.unwrap_integer())
    }
pub async fn expire_at_seconds < K > ( & mut self , key : K , timestamp : u64 ) -> Result < isize > where K : AsRef < [ u8 ] > , { let timestamp = timestamp . to_string ( ) ; let command = Command :: new ( " " ) . arg ( & key ) . arg ( & timestamp ) ; self . run_command ( command ) . await . map ( | i | i . unwrap_integer ( ) ) }
Set `key` to expire at Unix timestamp `timestamp`, measured in seconds.
Set ` key ` to expire at Unix timestamp ` timestamp ` measured in seconds .
&mut self
key
K
timestamp
u64