[][src]Crate canonical

Canonical, a no_std, host-allocating serialization library

Structs

BridgeStore

Store usable across ffi-boundraries

ByteSink

A sink over a slice of bytes

ByteSource

A sink over a slice of bytes

DrySink

A sink that does not write to any underlying storage

Id32

A 32 byte Identifier based on the Blake2b hash algorithm

InvalidEncoding

The sole error that can be encountered by reading data

Enums

Repr

The Repr type can be thought of as a host-allocating version of Box

Traits

Canon

Trait to read/write values as bytes

IdBuilder

Trait for types that takes bytes and produces an identifier

Ident

Restrictions on types acting as identifiers

Sink

Trait to implement writing bytes to an underlying storage

Source

Trait to implement reading bytes from an underlying storage

Store

The main trait for storing/transmitting data, in the case of a wasm environment, this is generally implemented with host calls