[−][src]Trait bm_le::IntoCompactVectorTree
Traits for vector converting into a compact tree structure.
Required methods
fn into_compact_vector_tree<DB: WriteBackend>(
&self,
db: &mut DB,
max_len: Option<usize>
) -> Result<ValueOf<DB::Construct>, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
&self,
db: &mut DB,
max_len: Option<usize>
) -> Result<ValueOf<DB::Construct>, 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.
Implementors
impl<'a> IntoCompactVectorTree for ElementalFixedVecRef<'a, bool>
[src]
fn into_compact_vector_tree<DB: WriteBackend>(
&self,
db: &mut DB,
max_len: Option<usize>
) -> Result<ValueOf<DB::Construct>, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
[src]
&self,
db: &mut DB,
max_len: Option<usize>
) -> Result<ValueOf<DB::Construct>, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
impl<'a> IntoCompactVectorTree for ElementalFixedVecRef<'a, u128>
[src]
fn into_compact_vector_tree<DB: WriteBackend>(
&self,
db: &mut DB,
max_len: Option<usize>
) -> Result<ValueOf<DB::Construct>, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
[src]
&self,
db: &mut DB,
max_len: Option<usize>
) -> Result<ValueOf<DB::Construct>, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
impl<'a> IntoCompactVectorTree for ElementalFixedVecRef<'a, u16>
[src]
fn into_compact_vector_tree<DB: WriteBackend>(
&self,
db: &mut DB,
max_len: Option<usize>
) -> Result<ValueOf<DB::Construct>, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
[src]
&self,
db: &mut DB,
max_len: Option<usize>
) -> Result<ValueOf<DB::Construct>, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
impl<'a> IntoCompactVectorTree for ElementalFixedVecRef<'a, u32>
[src]
fn into_compact_vector_tree<DB: WriteBackend>(
&self,
db: &mut DB,
max_len: Option<usize>
) -> Result<ValueOf<DB::Construct>, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
[src]
&self,
db: &mut DB,
max_len: Option<usize>
) -> Result<ValueOf<DB::Construct>, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
impl<'a> IntoCompactVectorTree for ElementalFixedVecRef<'a, u64>
[src]
fn into_compact_vector_tree<DB: WriteBackend>(
&self,
db: &mut DB,
max_len: Option<usize>
) -> Result<ValueOf<DB::Construct>, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
[src]
&self,
db: &mut DB,
max_len: Option<usize>
) -> Result<ValueOf<DB::Construct>, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
impl<'a> IntoCompactVectorTree for ElementalFixedVecRef<'a, u8>
[src]
fn into_compact_vector_tree<DB: WriteBackend>(
&self,
db: &mut DB,
max_len: Option<usize>
) -> Result<ValueOf<DB::Construct>, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
[src]
&self,
db: &mut DB,
max_len: Option<usize>
) -> Result<ValueOf<DB::Construct>, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
impl<'a> IntoCompactVectorTree for ElementalFixedVecRef<'a, U256>
[src]
fn into_compact_vector_tree<DB: WriteBackend>(
&self,
db: &mut DB,
max_len: Option<usize>
) -> Result<ValueOf<DB::Construct>, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
[src]
&self,
db: &mut DB,
max_len: Option<usize>
) -> Result<ValueOf<DB::Construct>, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
impl<T> IntoCompactVectorTree for ElementalFixedVec<T> where
ElementalFixedVecRef<'a, T>: IntoCompactVectorTree,
[src]
ElementalFixedVecRef<'a, T>: IntoCompactVectorTree,
fn into_compact_vector_tree<DB: WriteBackend>(
&self,
db: &mut DB,
max_len: Option<usize>
) -> Result<ValueOf<DB::Construct>, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
[src]
&self,
db: &mut DB,
max_len: Option<usize>
) -> Result<ValueOf<DB::Construct>, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,