[−][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
| ElementalFixedVec | Elemental |
| ElementalFixedVecRef | Elemental |
| ElementalVariableVec | Variable |
| ElementalVariableVecRef | Variable |
| End | End value for 256-bit ssz binary merkle tree. |
| FixedVec | Fixed |
| FixedVecRef | Fixed |
| InMemoryBackend | In-memory merkle database. |
| List | Binary merkle vector. |
| NoMaxLen | Indicate a type that does not have maximum length. |
| NoopBackend | Noop merkle database. |
| 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. |
| IntoListTree | Traits for list converting into a tree structure. |
| IntoTree | Traits for type converting into a tree structure. |
| IntoVectorTree | Traits for vector converting into a tree structure. |
| KnownMaxLen | Trait indicate |
| Leak | Leakable value, whose default behavior of drop is to leak. |
| LenFromConfig | Traits for getting the length from config. |
| MaxLenFromConfig | Traits for getting the maximum length from config. |
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. |