Trait 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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§