Function iota_types::storage::get_package_objects

source ยท
pub fn get_package_objects<'a>(
    store: &impl BackingPackageStore,
    package_ids: impl IntoIterator<Item = &'a ObjectID>,
) -> IotaResult<PackageFetchResults<PackageObject>>
Expand description

Returns Ok(<package object for each package id in package_ids>) if all package IDs in package_id were found. If any package in package_ids was not found it returns a list of any package ids that are unable to be found>).