[−][src]Trait bm_le::FromCompactVectorTree
Traits for vector converting from a compact tree structure.
Required methods
fn from_compact_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 FromCompactVectorTree for ElementalFixedVec<bool>
[src]
fn from_compact_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,
impl FromCompactVectorTree for ElementalFixedVec<u128>
[src]
fn from_compact_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,
impl FromCompactVectorTree for ElementalFixedVec<u16>
[src]
fn from_compact_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,
impl FromCompactVectorTree for ElementalFixedVec<u32>
[src]
fn from_compact_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,
impl FromCompactVectorTree for ElementalFixedVec<u64>
[src]
fn from_compact_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,
impl FromCompactVectorTree for ElementalFixedVec<u8>
[src]
fn from_compact_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,
impl FromCompactVectorTree for ElementalFixedVec<U256>
[src]
fn from_compact_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,