pub fn read_value(&self, key: &Pubkey) -> Option<(Vec<T>, RefCount)> {
        self.bucket.read().unwrap().as_ref().and_then(|bucket| {
            bucket
                .read_value(key)
                .map(|(value, ref_count)| (value.to_vec(), ref_count))
        })
    }
/// Get the values for Pubkey `key`
Get the values for Pubkey `key`
Get the values for Pubkey ` key `
pub fn read_value(&self, key: &Pubkey) -> Option<(Vec<T>, RefCount)> {
        self.bucket.read().unwrap().as_ref().and_then(|bucket| {
            bucket
                .read_value(key)
                .map(|(value, ref_count)| (value.to_vec(), ref_count))
        })
    }
pub fn read_value ( & self , key : & Pubkey ) -> Option < ( Vec < T > , RefCount ) > { self . bucket . read ( ) . unwrap ( ) . as_ref ( ) . and_then ( | bucket | { bucket . read_value ( key ) . map ( | ( value , ref_count ) | ( value . to_vec ( ) , ref_count ) ) } ) }
Get the values for Pubkey `key`
Get the values for Pubkey ` key `
&self
key
&Pubkey