/// Update the meta data of the given type_key.
Update the meta data of the given type_key.
Update the meta data of the given type_key .
fn update_meta<'a>(
        &self,
        tx: &mut RwTransaction<'a>,
        type_key: &TypeKey,
        meta: &Meta,
    ) -> lmdb::Result<()> {
        if let Some(bytes) = log_err!(
            bincode::serialize::<Meta>(meta),
            self.log,
            "update_meta serialize"
        ) {
            tx.put(self.meta, &type_key, &bytes, WriteFlags::empty())
        } else {
            Err(lmdb::Error::Panic)
        }
    }
fn update_meta < ' a > ( & self , tx : & mut RwTransaction < ' a > , type_key : & TypeKey , meta : & Meta , ) -> lmdb :: Result < ( ) > { if let Some ( bytes ) = log_err ! ( bincode serialize Meta ( meta ) self log " " ) { tx . put ( self . meta , & type_key , & bytes , WriteFlags :: empty ( ) ) } else { Err ( lmdb :: Error :: Panic ) } }
Update the meta data of the given type_key.
Update the meta data of the given type_key .
&self
tx
&mut RwTransaction<'a>
type_key
&TypeKey
meta
&Meta