pub trait Encodable {
fn consensus_encode<W: Write>(&self, writer: W) -> Result<usize, Error>;
}
Expand description
Data which can be encoded in a consensus-consistent way
Required Methods
Implementations on Foreign Types
sourceimpl Encodable for Vec<FilterHash>
impl Encodable for Vec<FilterHash>
sourceimpl Encodable for Vec<FilterHeader>
impl Encodable for Vec<FilterHeader>
sourceimpl Encodable for Vec<TxMerkleNode>
impl Encodable for Vec<TxMerkleNode>
sourceimpl Encodable for Vec<Transaction>
impl Encodable for Vec<Transaction>
sourceimpl Encodable for Vec<TapLeafHash>
impl Encodable for Vec<TapLeafHash>
sourceimpl Encodable for Vec<AddrV2Message>
impl Encodable for Vec<AddrV2Message>
sourceimpl<T0: Encodable, T1: Encodable, T2: Encodable, T3: Encodable> Encodable for (T0, T1, T2, T3)
impl<T0: Encodable, T1: Encodable, T2: Encodable, T3: Encodable> Encodable for (T0, T1, T2, T3)
sourceimpl<T0: Encodable, T1: Encodable, T2: Encodable, T3: Encodable, T4: Encodable> Encodable for (T0, T1, T2, T3, T4)
impl<T0: Encodable, T1: Encodable, T2: Encodable, T3: Encodable, T4: Encodable> Encodable for (T0, T1, T2, T3, T4)
sourceimpl<T0: Encodable, T1: Encodable, T2: Encodable, T3: Encodable, T4: Encodable, T5: Encodable> Encodable for (T0, T1, T2, T3, T4, T5)
impl<T0: Encodable, T1: Encodable, T2: Encodable, T3: Encodable, T4: Encodable, T5: Encodable> Encodable for (T0, T1, T2, T3, T4, T5)
sourceimpl<T0: Encodable, T1: Encodable, T2: Encodable, T3: Encodable, T4: Encodable, T5: Encodable, T6: Encodable> Encodable for (T0, T1, T2, T3, T4, T5, T6)
impl<T0: Encodable, T1: Encodable, T2: Encodable, T3: Encodable, T4: Encodable, T5: Encodable, T6: Encodable> Encodable for (T0, T1, T2, T3, T4, T5, T6)
sourceimpl<T0: Encodable, T1: Encodable, T2: Encodable, T3: Encodable, T4: Encodable, T5: Encodable, T6: Encodable, T7: Encodable> Encodable for (T0, T1, T2, T3, T4, T5, T6, T7)
impl<T0: Encodable, T1: Encodable, T2: Encodable, T3: Encodable, T4: Encodable, T5: Encodable, T6: Encodable, T7: Encodable> Encodable for (T0, T1, T2, T3, T4, T5, T6, T7)
Implementors
impl Encodable for AddrV2
Available on crate feature
std
only.impl Encodable for Inventory
Available on crate feature
std
only.impl Encodable for BloomFlags
Available on crate feature
std
only.impl Encodable for RejectReason
Available on crate feature
std
only.impl Encodable for Block
impl Encodable for BlockHeader
impl Encodable for Script
impl Encodable for OutPoint
impl Encodable for Transaction
impl Encodable for TxIn
impl Encodable for TxOut
impl Encodable for Witness
impl Encodable for BlockHash
impl Encodable for FilterHash
impl Encodable for FilterHeader
impl Encodable for Sighash
impl Encodable for TxMerkleNode
impl Encodable for Txid
impl Encodable for WitnessMerkleNode
impl Encodable for Wtxid
impl Encodable for AddrV2Message
Available on crate feature
std
only.impl Encodable for Address
Available on crate feature
std
only.impl Encodable for ServiceFlags
impl Encodable for CommandString
Available on crate feature
std
only.impl Encodable for RawNetworkMessage
Available on crate feature
std
only.impl Encodable for GetBlocksMessage
Available on crate feature
std
only.impl Encodable for GetHeadersMessage
Available on crate feature
std
only.impl Encodable for FilterAdd
Available on crate feature
std
only.impl Encodable for FilterLoad
Available on crate feature
std
only.impl Encodable for CFCheckpt
Available on crate feature
std
only.impl Encodable for CFHeaders
Available on crate feature
std
only.impl Encodable for CFilter
Available on crate feature
std
only.impl Encodable for GetCFCheckpt
Available on crate feature
std
only.impl Encodable for GetCFHeaders
Available on crate feature
std
only.impl Encodable for GetCFilters
Available on crate feature
std
only.impl Encodable for Reject
Available on crate feature
std
only.impl Encodable for VersionMessage
Available on crate feature
std
only.