Skip to main content

StoreParams

Trait StoreParams 

Source
pub trait StoreParams:
    Debug
    + Clone
    + Send
    + Sync
    + Unpin
    + 'static {
    type Hashes: MultihashDigest<AllocSize = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>;
    type Codecs: Codec;

    const MAX_BLOCK_SIZE: usize;
}
Expand description

The store parameters.

Required Associated Constants§

Source

const MAX_BLOCK_SIZE: usize

The maximum block size supported by the store.

Required Associated Types§

Source

type Hashes: MultihashDigest<AllocSize = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>

The multihash type of the store.

Source

type Codecs: Codec

The codec type of the store.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§