[][src]Trait bm_le::IntoCompositeListTree

pub trait IntoCompositeListTree {
    fn into_composite_list_tree<DB: WriteBackend>(
        &self,
        db: &mut DB,
        max_len: Option<u64>
    ) -> Result<<DB::Construct as Construct>::Value, Error<DB::Error>>
    where
        DB::Construct: CompatibleConstruct
; }

Traits for list converting into a tree structure.

Required methods

fn into_composite_list_tree<DB: WriteBackend>(
    &self,
    db: &mut DB,
    max_len: Option<u64>
) -> Result<<DB::Construct as Construct>::Value, Error<DB::Error>> where
    DB::Construct: CompatibleConstruct

Convert this list into merkle tree, writing nodes into the given database, and using the maximum length specified.

Loading content...

Implementors

impl<'a, T> IntoCompositeListTree for ElementalVariableVecRef<'a, T> where
    ElementalFixedVecRef<'b, T>: IntoCompositeVectorTree
[src]

impl<T> IntoCompositeListTree for ElementalVariableVec<T> where
    ElementalVariableVecRef<'a, T>: IntoCompositeListTree
[src]

Loading content...