Docs.rs
ic-certified-map-0.4.0
ic-certified-map 0.4.0
Permalink
Docs.rs crate page
Apache-2.0
Links
Homepage
Documentation
Repository
Crates.io
Source
Owners
roman-kashitsyn
ericswanson-dfinity
lwshang
krpeacock
adamspofford-dfinity
Dependencies
serde ^1
normal
serde_bytes ^0.11
normal
sha2 ^0.10
normal
candid ^0.9
dev
hex ^0.4
dev
ic-cdk ^0.10
dev
serde_cbor ^0.11
dev
Versions
100%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Hash
Trait Implementations
AsHashTree
In ic_certified_map
?
Type Definition
ic_certified_map
::
Hash
source
·
[
−
]
pub type Hash = [
u8
;
32
];
Expand description
SHA-256 hash bytes.
Trait Implementations
§
source
§
impl
AsHashTree
for
Hash
source
§
fn
root_hash
(&self) ->
Hash
Returns the root hash of the tree without constructing it. Must be equivalent to
as_hash_tree().reconstruct()
.
source
§
fn
as_hash_tree
(&self) ->
HashTree
<'_>
Constructs a hash tree corresponding to the data.