Enum cid::Codec [] [src]

pub enum Codec {
    Raw,
    DagProtobuf,
    DagCBOR,
    EthereumBlock,
    EthereumBlockList,
    EthereumTxTrie,
    EthereumTx,
    EthereumTxReceiptTrie,
    EthereumTxReceipt,
    EthereumStateTrie,
    EthereumStorageTrie,
    BitcoinBlock,
    BitcoinTx,
    ZcashBlock,
    ZcashTx,
}

Variants

Methods

impl Codec
[src]

Convert a number to the matching codec

Trait Implementations

impl PartialEq for Codec
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Codec
[src]

impl Clone for Codec
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Codec
[src]

impl Debug for Codec
[src]

Formats the value using the given formatter.