pub(super) fn set_one_with_key<T, K>( db: &Db, tree_name: &str, key: K, one: &T, ) -> Result<(), AppError>where T: Encode, K: AsRef<[u8]>,