[][src]Trait ipld_block_builder::IpldDecoder

pub trait IpldDecoder {
    fn decode_ipld(&self, cid: &Cid, data: &[u8]) -> Result<Ipld>;
}

Ipld decoder trait.

Required methods

fn decode_ipld(&self, cid: &Cid, data: &[u8]) -> Result<Ipld>

Decodes the block into Ipld.

Loading content...

Implementors

impl<C, H> IpldDecoder for GenericCodec<C, H>[src]

Loading content...