pub async fn brpop<K>(
        &mut self,
        lists: &[K],
        timeout: u32,
    ) -> Result<Option<(Vec<u8>, Vec<u8>)>>
    where
        K: AsRef<[u8]>,
    {
        self.blpop_brpop(lists, timeout, "BRPOP").await
    }
///Pop a value from one of the lists from the right side.
///Block timeout seconds when there are no values to pop. A zero-value will block infinitely.
///# Return value
///* `Ok(Some((list,value)))`: name of the list and corresponding value
///* `Ok(None)`: timeout (no values)
///* `Err(err)`: there was an error
Pop a value from one of the lists from the right side.
Block timeout seconds when there are no values to pop. A zero-value will block infinitely.
Pop a value from one of the lists from the right side . Block timeout seconds when there are no values to pop . A zero - value will block infinitely .
pub async fn brpop<K>(
        &mut self,
        lists: &[K],
        timeout: u32,
    ) -> Result<Option<(Vec<u8>, Vec<u8>)>>
    where
        K: AsRef<[u8]>,
    {
        self.blpop_brpop(lists, timeout, "BRPOP").await
    }
pub async fn brpop < K > ( & mut self , lists : & [ K ] , timeout : u32 , ) -> Result < Option < ( Vec < u8 > , Vec < u8 > ) > > where K : AsRef < [ u8 ] > , { self . blpop_brpop ( lists , timeout , " " ) . await }
Pop a value from one of the lists from the right side.
Pop a value from one of the lists from the right side .
&mut self
lists
&[K]
timeout
u32
&mut self
lists
&[K]
timeout
u32
return value
`Ok(Some((list,value)))`: name of the list and corresponding value
`Ok(None)`: timeout (no values)
`Err(err)`: there was an error
` Ok ( Some (( list value ))) ` : name of the list and corresponding value ` Ok ( None ) ` : timeout ( no values ) ` Err ( err ) ` : there was an error