referrerpolicy=no-referrer-when-downgrade

Trait sp_trie::recorder_ext::RecorderExt

source ·
pub trait RecorderExt<L: TrieLayout>
where Self: Sized,
{ // Required method fn into_set(self) -> BTreeSet<Vec<u8>>; // Provided method fn into_raw_storage_proof(self) -> RawStorageProof { ... } }
Expand description

Convenience extension for the Recorder struct.

Used to deduplicate some logic.

Required Methods§

source

fn into_set(self) -> BTreeSet<Vec<u8>>

Convert the recorder into a BTreeSet.

Provided Methods§

source

fn into_raw_storage_proof(self) -> RawStorageProof

Convert the recorder into a RawStorageProof, avoiding duplicate nodes.

Object Safety§

This trait is not object safe.

Implementors§