mithril_aggregator

Trait ImmutableFileDigestMapper

Source
pub trait ImmutableFileDigestMapper: Sync + Send {
    // Required method
    fn get_immutable_file_digest_map<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = StdResult<BTreeMap<ImmutableFileName, HexEncodedDigest>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

A trait for mapping ImmutableFileNames to their digests.

Required Methods§

Source

fn get_immutable_file_digest_map<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = StdResult<BTreeMap<ImmutableFileName, HexEncodedDigest>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Associate each given immutable files with a digest.

Implementors§