You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: rocksdb.rs
    path of file: ./repos/LocustDB/src/disk_store
    
    the code of the file until where you have to start completion: use std::sync::Arc;
use std::str;
use std::path::Path;

use byteorder::{ByteOrder, BigEndian};
use capnp::{serialize, message};
use ordered_float::OrderedFloat;
use rocksdb::*;
use time::OffsetDateTime
    
    fn load_metadata(&self) -> Vec<PartitionMetadata> {
        let mut metadata = Vec::new();
        let iter = self.db.iterator_cf(self.metadata(), IteratorMode::Start);
        for entry in iter {
            let (key, value) = entry.unwrap();
            let partition_id = BigEndian::read_u64(&key) as PartitionID;
            metadata.push(deserialize_meta_data(&value, partition_id))
        }
        metadata
    }