Enum cid::Codec [−][src]
pub enum Codec { Raw, DagProtobuf, DagCBOR, GitRaw, EthereumBlock, EthereumBlockList, EthereumTxTrie, EthereumTx, EthereumTxReceiptTrie, EthereumTxReceipt, EthereumStateTrie, EthereumAccountSnapshot, EthereumStorageTrie, BitcoinBlock, BitcoinTx, ZcashBlock, ZcashTx, }
Variants
Raw
DagProtobuf
DagCBOR
GitRaw
EthereumBlock
EthereumBlockList
EthereumTxTrie
EthereumTx
EthereumTxReceiptTrie
EthereumTxReceipt
EthereumStateTrie
EthereumAccountSnapshot
EthereumStorageTrie
BitcoinBlock
BitcoinTx
ZcashBlock
ZcashTx
Methods
impl Codec
[src]
impl Codec
Trait Implementations
impl PartialEq for Codec
[src]
impl PartialEq for Codec
fn eq(&self, other: &Codec) -> bool
[src]
fn eq(&self, other: &Codec) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Codec
[src]
impl Eq for Codec
impl Clone for Codec
[src]
impl Clone for Codec
fn clone(&self) -> Codec
[src]
fn clone(&self) -> Codec
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Codec
[src]
impl Copy for Codec
impl Debug for Codec
[src]
impl Debug for Codec
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<Codec> for u64
[src]
impl From<Codec> for u64