Docs.rs
  • mithril-common-0.3.7
    • mithril-common 0.3.7
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • jpraynaud
    • github:input-output-hk:mithril
    • Dependencies
      • anyhow ^1.0.79 normal
      • async-trait ^0.1.77 normal
      • bech32 ^0.9.1 normal
      • blake2 ^0.10.6 normal
      • chrono ^0.4.33 normal
      • ckb-merkle-mountain-range ^0.6.0 normal
      • digest ^0.10.7 normal
      • ed25519-dalek ^2.1.0 normal
      • fixed ^1.24.0 normal
      • glob ^0.3.1 normal optional
      • hex ^0.4.3 normal
      • jsonschema ^0.17.1 normal optional
      • kes-summed-ed25519 ^0.2.1 normal
      • minicbor ^0.20 normal optional
      • nom ^7.1.3 normal
      • pallas-addresses ^0.23.0 normal optional
      • pallas-codec ^0.23.0 normal optional
      • pallas-network ^0.23.0 normal optional
      • pallas-primitives ^0.23.0 normal optional
      • pallas-traverse ^0.23.0 normal optional
      • rand_chacha ^0.3.1 normal
      • rand_core ^0.6.4 normal
      • rayon ^1.8.1 normal
      • semver ^1.0.21 normal
      • serde ^1.0.196 normal
      • serde_bytes ^0.11.14 normal
      • serde_cbor ^0.11.2 normal
      • serde_json ^1.0.113 normal
      • serde_with ^3.6.0 normal
      • serde_yaml ^0.9.31 normal
      • sha2 ^0.10.8 normal
      • slog ^2.7.0 normal
      • strum ^0.26.1 normal
      • thiserror ^1.0.56 normal
      • tokio ^1.35.1 normal
      • typetag ^0.2.15 normal
      • walkdir ^2.4.0 normal
      • warp ^0.3.6 normal optional
      • criterion ^0.5.1 dev
      • mockall ^0.12.1 dev
      • pallas-crypto ^0.23.0 dev
      • rand_core ^0.6.4 dev
      • reqwest ^0.11.23 dev
      • slog-async ^2.8.0 dev
      • slog-scope ^4.4.0 dev
      • slog-term ^2.9.0 dev
      • tokio ^1.35.1 dev
      • glob ^0.3.1 build
      • semver ^1.0.21 build
      • serde_json ^1.0.113 build
      • serde_yaml ^0.9.31 build
      • mithril-stm ^0.3 normal
      • mithril-stm ^0.3 normal
      • wasm-bindgen ^0.2.90 normal
      • mithril-stm ^0.3 normal
    • Versions
    • 100% of the crate is documented
  • Go to latest version
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

mithril_common0.3.7

Module cache

  • Structs
  • Enums
  • Traits
  • Type Aliases

In mithril_common::digesters

?
Change settings

Module mithril_common::digesters::cache

source ·
Available on crate feature fs only.
Expand description

Cache provider to accelerate super::CardanoImmutableDigester computation by storing and reusing super::ImmutableFile digests.

Structs§

  • JsonImmutableFileDigestCacheProvider
    A in memory ImmutableFileDigestCacheProvider.
  • JsonImmutableFileDigestCacheProviderBuilder
    A JsonImmutableFileDigestCacheProvider builder.
  • MemoryImmutableFileDigestCacheProvider
    A in memory ImmutableFileDigestCacheProvider.

Enums§

  • ImmutableDigesterCacheGetError
    ImmutableFileDigestCacheProvider::get related errors.
  • ImmutableDigesterCacheProviderError
    ImmutableFileDigestCacheProvider related errors.
  • ImmutableDigesterCacheStoreError
    ImmutableFileDigestCacheProvider::store related errors.

Traits§

  • ImmutableFileDigestCacheProvider
    A cache provider that store individual ImmutableFile digests.

Type Aliases§

  • CacheProviderResult
    A specialized result type for ImmutableFileDigestCacheProvider.