[−][src]Trait bm_le::FromCompositeVectorTree
Traits for vector converting from a composite tree structure.
Required methods
fn from_composite_vector_tree<DB: ReadBackend>(
root: &<DB::Construct as Construct>::Value,
db: &mut DB,
len: usize,
max_len: Option<u64>
) -> Result<Self, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
root: &<DB::Construct as Construct>::Value,
db: &mut DB,
len: usize,
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 length and maximum length.
Implementors
impl<T: FromTree> FromCompositeVectorTree for ElementalFixedVec<T>
[src]
fn from_composite_vector_tree<DB: ReadBackend>(
root: &<DB::Construct as Construct>::Value,
db: &mut DB,
len: usize,
max_len: Option<u64>
) -> Result<Self, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
[src]
root: &<DB::Construct as Construct>::Value,
db: &mut DB,
len: usize,
max_len: Option<u64>
) -> Result<Self, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,