Module ipld_core::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§

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