[][src]Trait bm_le::FromCompactListTree

pub trait FromCompactListTree: Sized {
    fn from_compact_list_tree<DB: ReadBackend>(
        root: &<DB::Construct as Construct>::Value,
        db: &mut DB,
        max_len: Option<u64>
    ) -> Result<Self, Error<DB::Error>>
    where
        DB::Construct: CompatibleConstruct
; }

Traits for list converting from a tree structure.

Required methods

fn from_compact_list_tree<DB: ReadBackend>(
    root: &<DB::Construct as Construct>::Value,
    db: &mut DB,
    max_len: Option<u64>
) -> Result<Self, Error<DB::Error>> where
    DB::Construct: CompatibleConstruct

Convert this type from merkle tree, reading nodes from the given database, with given maximum length.

Loading content...

Implementors

impl<T> FromCompactListTree for ElementalVariableVec<T> where
    ElementalFixedVec<T>: FromCompactVectorTree
[src]

Loading content...