[−][src]Crate canonical
Canonical, a no_std, host-allocating serialization library
Macros
debug | Send debug to host |
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 | A Repr to a value that is either local or in storage |
Val | A reference to a value |
ValMut | A mutable value derived from a Repr |
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 |