Docs.rs
ic-certified-map-0.4.1
ic-certified-map 0.4.1
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
dfinity-publish
github:dfinity:sdk
Dependencies
candid ^0.10.18
normal
serde ^1
normal
serde_bytes ^0.11
normal
sha2 ^0.10
normal
bincode ^1.3.3
dev
hex ^0.4
dev
ic-cdk ^0.18.7
dev
serde_cbor ^0.11
dev
Versions
100%
of the crate is documented
Platform
i686-unknown-linux-gnu
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Hash
ic_
certified_
map
0.4.1
Hash
Trait Implementations
AsHashTree
In crate ic_
certified_
map
ic_certified_map
Type Alias
Hash
Copy item path
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.