[][src]Trait bitcoin::consensus::encode::Decodable

pub trait Decodable: Sized {
    fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>;
}

Data which can be encoded in a consensus-consistent way

Required methods

fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>

Decode an object with a well-defined format

Loading content...

Implementations on Foreign Types

impl Decodable for u8[src]

impl Decodable for u16[src]

impl Decodable for u32[src]

impl Decodable for u64[src]

impl Decodable for i8[src]

impl Decodable for i16[src]

impl Decodable for i32[src]

impl Decodable for i64[src]

impl Decodable for bool[src]

impl Decodable for String[src]

impl Decodable for Cow<'static, str>[src]

impl Decodable for [u8; 2][src]

impl Decodable for [u8; 4][src]

impl Decodable for [u8; 8][src]

impl Decodable for [u8; 10][src]

impl Decodable for [u8; 12][src]

impl Decodable for [u8; 16][src]

impl Decodable for [u8; 32][src]

impl Decodable for [u8; 33][src]

impl Decodable for [u16; 8][src]

impl Decodable for Vec<BlockHash>[src]

impl Decodable for Vec<FilterHash>[src]

impl Decodable for Vec<FilterHeader>[src]

impl Decodable for Vec<TxMerkleNode>[src]

impl Decodable for Vec<Transaction>[src]

impl Decodable for Vec<TxOut>[src]

impl Decodable for Vec<TxIn>[src]

impl Decodable for Vec<Inventory>[src]

impl Decodable for Vec<Vec<u8>>[src]

impl Decodable for Vec<(u32, Address)>[src]

impl Decodable for Vec<u64>[src]

impl Decodable for Vec<AddrV2Message>[src]

impl Decodable for Vec<u8>[src]

impl Decodable for Box<[u8]>[src]

impl<T0: Decodable, T1: Decodable> Decodable for (T0, T1)[src]

impl<T0: Decodable, T1: Decodable, T2: Decodable> Decodable for (T0, T1, T2)[src]

impl<T0: Decodable, T1: Decodable, T2: Decodable, T3: Decodable> Decodable for (T0, T1, T2, T3)[src]

impl<T0: Decodable, T1: Decodable, T2: Decodable, T3: Decodable, T4: Decodable> Decodable for (T0, T1, T2, T3, T4)[src]

impl<T0: Decodable, T1: Decodable, T2: Decodable, T3: Decodable, T4: Decodable, T5: Decodable> Decodable for (T0, T1, T2, T3, T4, T5)[src]

impl<T0: Decodable, T1: Decodable, T2: Decodable, T3: Decodable, T4: Decodable, T5: Decodable, T6: Decodable> Decodable for (T0, T1, T2, T3, T4, T5, T6)[src]

impl<T0: Decodable, T1: Decodable, T2: Decodable, T3: Decodable, T4: Decodable, T5: Decodable, T6: Decodable, T7: Decodable> Decodable for (T0, T1, T2, T3, T4, T5, T6, T7)[src]

impl Decodable for Hash[src]

Loading content...

Implementors

impl Decodable for AddrV2[src]

impl Decodable for Inventory[src]

impl Decodable for RejectReason[src]

impl Decodable for Block[src]

impl Decodable for BlockHeader[src]

impl Decodable for Script[src]

impl Decodable for OutPoint[src]

impl Decodable for Transaction[src]

impl Decodable for TxIn[src]

impl Decodable for TxOut[src]

impl Decodable for CheckedData[src]

impl Decodable for VarInt[src]

impl Decodable for BlockHash[src]

impl Decodable for FilterHash[src]

impl Decodable for FilterHeader[src]

impl Decodable for SigHash[src]

impl Decodable for TxMerkleNode[src]

impl Decodable for Txid[src]

impl Decodable for WitnessMerkleNode[src]

impl Decodable for Wtxid[src]

impl Decodable for AddrV2Message[src]

impl Decodable for Address[src]

impl Decodable for ServiceFlags[src]

impl Decodable for CommandString[src]

impl Decodable for RawNetworkMessage[src]

impl Decodable for GetBlocksMessage[src]

impl Decodable for GetHeadersMessage[src]

impl Decodable for CFCheckpt[src]

impl Decodable for CFHeaders[src]

impl Decodable for CFilter[src]

impl Decodable for GetCFCheckpt[src]

impl Decodable for GetCFHeaders[src]

impl Decodable for GetCFilters[src]

impl Decodable for Reject[src]

impl Decodable for VersionMessage[src]

impl Decodable for MerkleBlock[src]

impl Decodable for PartialMerkleTree[src]

impl Decodable for Key[src]

impl Decodable for Pair[src]

impl Decodable for Global[src]

impl Decodable for Input[src]

impl Decodable for Output[src]

impl Decodable for PartiallySignedTransaction[src]

impl Decodable for Uint128[src]

impl Decodable for Uint256[src]

impl<Subtype> Decodable for ProprietaryKey<Subtype> where
    Subtype: Copy + From<u8> + Into<u8>, 
[src]

Loading content...