Crate sp_cid

Crate sp_cid 

Source
Expand description

§cid

Implementation of cid in Rust.

Re-exports§

pub use self::codec::Codec;
pub use multibase;
pub use sp_multihash;

Modules§

codec

Structs§

CidGeneric
Representation of a CID.

Enums§

Error
Error types
Version
The version of the CID.

Functions§

varint_read_u64
Reader function from unsigned_varint

Type Aliases§

Cid
A Cid that contains a multihash with an allocated size of 512 bits.
Result
Type alias to use this library’s Error type in a Result.