referrerpolicy=no-referrer-when-downgrade

Trait sp_trie::ProofSizeProvider

source ·
pub trait ProofSizeProvider {
    // Required method
    fn estimate_encoded_size(&self) -> usize;
}
Expand description

Type that is able to provide a proof size estimation.

Required Methods§

source

fn estimate_encoded_size(&self) -> usize

Returns the storage proof size.

Implementors§

source§

impl<H: Hasher> ProofSizeProvider for Recorder<H>