pub fn metadata_iter(&self) -> impl Iterator<Item = Result<(Vec<u8>, Metadata)>> {
        self.db.iter().map(|x| match x {
            Ok((key, data)) => Metadata::deserialize(&data[..]).map(|m| (key.to_vec(), m)),
            Err(e) => Err(ForcepError::MetaDb(e)),
        })
    }
/// Iterator over the entire metadata database
Iterator over the entire metadata database
Iterator over the entire metadata database
pub fn metadata_iter(&self) -> impl Iterator<Item = Result<(Vec<u8>, Metadata)>> {
        self.db.iter().map(|x| match x {
            Ok((key, data)) => Metadata::deserialize(&data[..]).map(|m| (key.to_vec(), m)),
            Err(e) => Err(ForcepError::MetaDb(e)),
        })
    }
pub fn metadata_iter ( & self ) -> impl Iterator < Item = Result < ( Vec < u8 > , Metadata ) > > { self . db . iter ( ) . map ( | x | match x { Ok ( ( key , data ) ) => Metadata :: deserialize ( & data [ .. ] ) . map ( | m | ( key . to_vec ( ) , m ) ) , Err ( e ) => Err ( ForcepError :: MetaDb ( e ) ) , } ) }
Iterator over the entire metadata database
Iterator over the entire metadata database
&self
&self