[][src]Trait bm_le::IntoCompositeVectorTree

pub trait IntoCompositeVectorTree {
    fn into_composite_vector_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 vector converting into a composite tree structure.

Required methods

fn into_composite_vector_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 vector into merkle tree, writing nodes into the given database, and using the maximum length specified.

Loading content...

Implementors

impl<'a, T> IntoCompositeVectorTree for ElementalFixedVecRef<'a, T> where
    T: IntoTree
[src]

impl<T> IntoCompositeVectorTree for ElementalFixedVec<T> where
    ElementalFixedVecRef<'a, T>: IntoCompositeVectorTree
[src]

Loading content...