[−][src]Trait bitcoin::consensus::encode::Decodable
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
Implementations on Foreign Types
impl Decodable for u8
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for u16
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for u32
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for u64
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for i8
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for i16
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for i32
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for i64
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for bool
[src]
impl Decodable for String
[src]
impl Decodable for Cow<'static, str>
[src]
impl Decodable for [u8; 2]
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for [u8; 4]
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for [u8; 8]
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for [u8; 10]
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for [u8; 12]
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for [u8; 16]
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for [u8; 32]
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for [u8; 33]
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for [u16; 8]
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Vec<BlockHash>
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Vec<FilterHash>
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Vec<FilterHeader>
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Vec<TxMerkleNode>
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Vec<Transaction>
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Vec<TxOut>
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Vec<TxIn>
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Vec<Inventory>
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Vec<Vec<u8>>
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Vec<(u32, Address)>
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Vec<u64>
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Vec<AddrV2Message>
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Vec<u8>
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Box<[u8]>
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl<T0: Decodable, T1: Decodable> Decodable for (T0, T1)
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl<T0: Decodable, T1: Decodable, T2: Decodable> Decodable for (T0, T1, T2)
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl<T0: Decodable, T1: Decodable, T2: Decodable, T3: Decodable> Decodable for (T0, T1, T2, T3)
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl<T0: Decodable, T1: Decodable, T2: Decodable, T3: Decodable, T4: Decodable> Decodable for (T0, T1, T2, T3, T4)
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl<T0: Decodable, T1: Decodable, T2: Decodable, T3: Decodable, T4: Decodable, T5: Decodable> Decodable for (T0, T1, T2, T3, T4, T5)
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[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]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[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]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Hash
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
Implementors
impl Decodable for AddrV2
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Inventory
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for RejectReason
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Block
[src]
impl Decodable for BlockHeader
[src]
fn consensus_decode<D: Read>(d: D) -> Result<BlockHeader, Error>
[src]
impl Decodable for Script
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for OutPoint
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Transaction
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for TxIn
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for TxOut
[src]
impl Decodable for CheckedData
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for VarInt
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for BlockHash
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for FilterHash
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for FilterHeader
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for SigHash
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for TxMerkleNode
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Txid
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for WitnessMerkleNode
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Wtxid
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for AddrV2Message
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Address
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for ServiceFlags
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for CommandString
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for RawNetworkMessage
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for GetBlocksMessage
[src]
fn consensus_decode<D: Read>(d: D) -> Result<GetBlocksMessage, Error>
[src]
impl Decodable for GetHeadersMessage
[src]
fn consensus_decode<D: Read>(d: D) -> Result<GetHeadersMessage, Error>
[src]
impl Decodable for CFCheckpt
[src]
impl Decodable for CFHeaders
[src]
impl Decodable for CFilter
[src]
impl Decodable for GetCFCheckpt
[src]
fn consensus_decode<D: Read>(d: D) -> Result<GetCFCheckpt, Error>
[src]
impl Decodable for GetCFHeaders
[src]
fn consensus_decode<D: Read>(d: D) -> Result<GetCFHeaders, Error>
[src]
impl Decodable for GetCFilters
[src]
fn consensus_decode<D: Read>(d: D) -> Result<GetCFilters, Error>
[src]
impl Decodable for Reject
[src]
impl Decodable for VersionMessage
[src]
fn consensus_decode<D: Read>(d: D) -> Result<VersionMessage, Error>
[src]
impl Decodable for MerkleBlock
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for PartialMerkleTree
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Key
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Pair
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Global
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Input
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for Output
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Decodable for PartiallySignedTransaction
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[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]
Subtype: Copy + From<u8> + Into<u8>,