Expand description

Build Status Repository Documentation

Canonical

A no_std, host-allocating serialization library

Structs

This is the Id type, that uniquely identifies slices of bytes, in rust equivalent to &[u8]. As in the case with &[u8] the length is also encoded in the type, making it a kind of a fat-pointer for content addressed byte-slices.

Struct for saving encoded data

Struct holding encoded data to be decoded into its initial value

Low-level interface to the store logic

Enums

The possible errors when fetching/decoding values from a store

Traits

Trait to read/write values as bytes

Helper trait to encode Canon types into byte vectors

Type Definitions

A hash identifiying some data