Trait diem_sdk::types::move_resource::MoveStorage[][src]

pub trait MoveStorage {
    fn batch_fetch_resources(
        &self,
        access_paths: Vec<AccessPath, Global>
    ) -> Result<Vec<Vec<u8, Global>, Global>, Error>;
fn batch_fetch_resources_by_version(
        &self,
        access_paths: Vec<AccessPath, Global>,
        version: u64
    ) -> Result<Vec<Vec<u8, Global>, Global>, Error>;
fn fetch_synced_version(&self) -> Result<u64, Error>; }

Required methods

Returns a vector of Move resources as serialized byte array Order of resources returned matches the order of access_path

Returns a vector of Move resources as serialized byte array from a specified version of the database Order of resources returned matches the order of access_path

Get the version on the latest transaction info.

Implementors