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§
Sourcefn 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,
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.