[][src]Trait serde_version::AggregateVersionMap

pub trait AggregateVersionMap {
    fn aggregate_version_maps<'a, VMR: VersionGroupResolver>(
        &self,
        uris: &[VersionGroupURI<'a>],
        resolver: &VMR
    ) -> Result<HashMap<String, usize>, AggregateVersionMapError>
    where
        VMR::VM: VersionMap
, { ... } }

Implement this trait to provide a method to aggregate version maps

The default implementation will create a new instance at each call. But you can override this behaviour to provide a cache system.

Provided methods

fn aggregate_version_maps<'a, VMR: VersionGroupResolver>(
    &self,
    uris: &[VersionGroupURI<'a>],
    resolver: &VMR
) -> Result<HashMap<String, usize>, AggregateVersionMapError> where
    VMR::VM: VersionMap

Build a new VersionMap that contains all the information for all provided version uris

Loading content...

Implementations on Foreign Types

impl AggregateVersionMap for ()[src]

Loading content...

Implementors

Loading content...