[−][src]Crate bm_le
SimpleSerialize (ssz) compliant binary merkle tree supporting both merkleization and de-merkleization.
Re-exports
pub use bm_le_derive::FromTree; |
pub use bm_le_derive::IntoTree; |
Modules
utils | Utilities |
Macros
impl_from_list_tree_with_empty_config | Implement FromListTreeWithConfig for traits that has already implemented FromListTree and does not need extra configs. |
impl_from_tree_with_empty_config | Implement FromTreeWithConfig for traits that has already implemented FromTree and does not need extra configs. |
impl_from_vector_tree_with_empty_config | Implement FromVectorTreeWithConfig for traits that has already implemented FromVectorTree and does not need extra configs. |
Structs
End | End value for 256-bit ssz binary merkle tree. |
FixedVec | Fixed |
FixedVecRef | Fixed |
List | Binary merkle vector. |
VariableVec | Variable |
VariableVecRef | Variable |
Vector | Binary merkle tuple. |
Enums
Error | Set error. |
Value | Value in a merkle tree. |
Traits
Backend | Traits for a merkle database. |
Composite | A composite value, in contrary to ssz's definition of basic value. |
FromListTree | Traits for list converting from a tree structure. |
FromListTreeWithConfig | Traits for list converting from a tree structure with config. |
FromTree | Traits for type converting from a tree structure. |
FromTreeWithConfig | Traits for type converting from a tree structure with a config. |
FromVectorTree | Traits for vector converting from a tree structure. |
FromVectorTreeWithConfig | Traits for vector converting from a tree structure with config. |
IntoTree | Traits for type converting into a tree structure. |
IntoVectorTree | Traits for vector converting into a tree structure. |
Leak | Leakable value, whose default behavior of drop is to leak. |
Functions
tree_root | Calculate a ssz merkle tree root, dismissing the tree. |
Type Definitions
DanglingVector |
|
Intermediate | Intermediate type for 256-bit ssz binary merkle tree. |
ValueOf | Value of a database. |