Module codec

Module codec 

Source
Expand description

This module contains traits to have a unified API across codecs.

There are two traits defined, Codec and Links. Those are separate traits as the Links trait is not generic over a certain type.

Traitsยง

Codec
Each IPLD codec implementation should implement this Codec trait. This way codecs can be more easily exchanged or combined.
Links
Trait for returning the links of a serialized IPLD data.