Trait breez_sdk_core::bitcoin::consensus::encode::Encodable

pub trait Encodable {
    // Required method
    fn consensus_encode<W>(&self, writer: &mut W) -> Result<usize, Error>
       where W: Write + ?Sized;
}
Expand description

Data which can be encoded in a consensus-consistent way

Required Methods§

fn consensus_encode<W>(&self, writer: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

Encode an object with a well-defined format. Returns the number of bytes written on success.

The only errors returned are errors propagated from the writer.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl Encodable for Cow<'static, str>

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for bool

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for i8

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for i16

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for i32

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for i64

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for u8

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for u16

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for u32

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for u64

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Box<[u8]>

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for String

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Vec<(u32, Address)>

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Vec<Inventory>

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Vec<u8>

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Vec<u64>

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Vec<AddrV2Message>

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Vec<BlockHash>

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Vec<FilterHash>

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Vec<FilterHeader>

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Vec<Transaction>

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Vec<TxIn>

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Vec<TxMerkleNode>

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Vec<TxOut>

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Vec<VarInt>

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Vec<PrefilledTransaction>

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Vec<ShortId>

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Vec<TapLeafHash>

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Vec<Vec<u8>>

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for AddBlock

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for AddBlockReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Attestation

§

fn consensus_encode<S>(&self, s: &mut S) -> Result<usize, Error>
where S: Write + ?Sized,

§

impl Encodable for Basepoints

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Bip32KeyVersion

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for BitcoinSignature

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for BlockChunk

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for BlockChunkReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for CheckFutureSecret

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for CheckFutureSecretReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for CheckOutpoint

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for CheckOutpointReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for CheckPubKey

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for CheckPubKeyReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for ClientHsmFd

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for ClientHsmFdReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for CloseInfo

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for DeriveSecret

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for DeriveSecretReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for DevPrivKey

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for DevSecret

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for DisclosedSecret

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Ecdh

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for EcdhReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for ExtKey

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for FailedHtlc

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for ForgetChannel

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for ForgetChannelReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for ForwardWatches

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for ForwardWatchesReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for GetChannelBasepoints

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for GetChannelBasepointsReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for GetHeartbeat

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for GetHeartbeatReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for GetPerCommitmentPoint

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for GetPerCommitmentPoint2

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for GetPerCommitmentPoint2Reply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for GetPerCommitmentPointReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Headers

§

fn consensus_encode<S>(&self, s: &mut S) -> Result<usize, Error>
where S: Write + ?Sized,

§

impl Encodable for Heartbeat

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for HsmdDevPreinit

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for HsmdDevPreinit2

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for HsmdDevPreinit2Options

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for HsmdDevPreinitReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for HsmdInit

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for HsmdInit2

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for HsmdInit2Reply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for HsmdInitReplyV2

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for HsmdInitReplyV4

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Htlc

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for IgnoredLargeOctets

§

fn consensus_encode<W>(&self, writer: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for LargeOctets

§

fn consensus_encode<W>(&self, writer: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for LockOutpoint

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for LockOutpointReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Memleak

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for MemleakReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for NewChannel

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for NewChannelReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for NodeInfo

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for NodeInfoReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Octets

§

fn consensus_encode<W>(&self, writer: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for OnionRoutingPacket

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Ping

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Pong

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for PreapproveInvoice

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for PreapproveInvoiceReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for PreapproveKeysend

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for PreapproveKeysendReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for ProofType

§

fn consensus_encode<W>(&self, writer: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for PubKey

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for PubKey32

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for RecoverableSignature

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for RemoveBlock

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for RemoveBlockReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for ReverseWatches

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for ReverseWatchesReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for RevokeCommitmentTx

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for RevokeCommitmentTxReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Secret

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SetupChannel

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SetupChannelReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Sha256

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignAnchorspend

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignAnchorspendReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignAnyChannelAnnouncement

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignAnyChannelAnnouncementReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignAnyDelayedPaymentToUs

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignAnyLocalHtlcTx

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignAnyPenaltyToUs

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignAnyRemoteHtlcToUs

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignBolt12

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignBolt12Reply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignChannelAnnouncement

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignChannelAnnouncementReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignChannelUpdate

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignChannelUpdateReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignCommitmentTx

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignCommitmentTxReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignCommitmentTxWithHtlcsReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignDelayedPaymentToUs

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignGossipMessage

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignGossipMessageReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignHtlcTxMingle

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignHtlcTxMingleReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignInvoice

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignInvoiceReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignLocalCommitmentTx2

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignLocalHtlcTx

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignMessage

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignMessageReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignMutualCloseTx

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignMutualCloseTx2

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignNodeAnnouncement

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignNodeAnnouncementReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignPenaltyToUs

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignRemoteCommitmentTx

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignRemoteCommitmentTx2

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignRemoteHtlcToUs

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignRemoteHtlcTx

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignSpliceTx

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignTxReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignWithdrawal

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignWithdrawalReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Signature

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignedAttestation

§

fn consensus_encode<S>(&self, s: &mut S) -> Result<usize, Error>
where S: Write + ?Sized,

§

impl Encodable for SignedHeartbeat

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SignerError

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for SpvProof

§

fn consensus_encode<W>(&self, writer: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for StreamedPSBT

§

fn consensus_encode<W>(&self, writer: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for TipInfo

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for TipInfoReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for TxoProof

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for UnknownPlaceholder

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for Utxo

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for ValidateCommitmentTx

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for ValidateCommitmentTx2

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for ValidateCommitmentTxReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for ValidateRevocation

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for ValidateRevocationReply

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for WireString

§

fn consensus_encode<W>(&self, writer: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl Encodable for [u8; 2]

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: WriteExt + ?Sized,

§

impl Encodable for [u8; 4]

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: WriteExt + ?Sized,

§

impl Encodable for [u8; 6]

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: WriteExt + ?Sized,

§

impl Encodable for [u8; 8]

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: WriteExt + ?Sized,

§

impl Encodable for [u8; 10]

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: WriteExt + ?Sized,

§

impl Encodable for [u8; 12]

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: WriteExt + ?Sized,

§

impl Encodable for [u8; 16]

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: WriteExt + ?Sized,

§

impl Encodable for [u8; 32]

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: WriteExt + ?Sized,

§

impl Encodable for [u8; 33]

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: WriteExt + ?Sized,

§

impl Encodable for [u16; 8]

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl<'a, T> Encodable for &'a T
where T: Encodable,

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl<'a, T> Encodable for &'a mut T
where T: Encodable,

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl<T0, T1> Encodable for (T0, T1)
where T0: Encodable, T1: Encodable,

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl<T0, T1, T2> Encodable for (T0, T1, T2)
where T0: Encodable, T1: Encodable, T2: Encodable,

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl<T0, T1, T2, T3> Encodable for (T0, T1, T2, T3)
where T0: Encodable, T1: Encodable, T2: Encodable, T3: Encodable,

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl<T0, T1, T2, T3, T4> Encodable for (T0, T1, T2, T3, T4)
where T0: Encodable, T1: Encodable, T2: Encodable, T3: Encodable, T4: Encodable,

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl<T0, T1, T2, T3, T4, T5> Encodable for (T0, T1, T2, T3, T4, T5)
where T0: Encodable, T1: Encodable, T2: Encodable, T3: Encodable, T4: Encodable, T5: Encodable,

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl<T0, T1, T2, T3, T4, T5, T6> Encodable for (T0, T1, T2, T3, T4, T5, T6)
where T0: Encodable, T1: Encodable, T2: Encodable, T3: Encodable, T4: Encodable, T5: Encodable, T6: Encodable,

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl<T0, T1, T2, T3, T4, T5, T6, T7> Encodable for (T0, T1, T2, T3, T4, T5, T6, T7)
where T0: Encodable, T1: Encodable, T2: Encodable, T3: Encodable, T4: Encodable, T5: Encodable, T6: Encodable, T7: Encodable,

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl<T> Encodable for Rc<T>
where T: Encodable,

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl<T> Encodable for Arc<T>
where T: Encodable,

§

fn consensus_encode<W>(&self, w: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl<T> Encodable for Array<T>
where T: Encodable + Decodable + Debug,

§

fn consensus_encode<W>(&self, writer: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl<T> Encodable for ArrayBE<T>
where T: BigEndianEncodable + Debug,

§

fn consensus_encode<W>(&self, writer: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl<T> Encodable for WithSize<T>
where T: Encodable + Decodable + Debug,

§

fn consensus_encode<W>(&self, writer: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

§

impl<const CHUNK_SIZE: usize> Encodable for NonContiguousOctets<CHUNK_SIZE>

§

fn consensus_encode<W>(&self, writer: &mut W) -> Result<usize, Error>
where W: Write + ?Sized,

Implementors§

§

impl Encodable for LockTime

§

impl Encodable for AddrV2

§

impl Encodable for Inventory

§

impl Encodable for BloomFlags

§

impl Encodable for RejectReason

§

impl Encodable for AddrV2Message

§

impl Encodable for ServiceFlags

§

impl Encodable for CommandString

§

impl Encodable for RawNetworkMessage

§

impl Encodable for GetBlocksMessage

§

impl Encodable for GetHeadersMessage

§

impl Encodable for FilterAdd

§

impl Encodable for FilterLoad

§

impl Encodable for BlockTxn

§

impl Encodable for CmpctBlock

§

impl Encodable for GetBlockTxn

§

impl Encodable for SendCmpct

§

impl Encodable for CFCheckpt

§

impl Encodable for CFHeaders

§

impl Encodable for CFilter

§

impl Encodable for GetCFCheckpt

§

impl Encodable for GetCFHeaders

§

impl Encodable for GetCFilters

§

impl Encodable for Reject

§

impl Encodable for VersionMessage

§

impl Encodable for Address

§

impl Encodable for Block

§

impl Encodable for BlockHash

§

impl Encodable for BlockHeader

§

impl Encodable for FilterHash

§

impl Encodable for FilterHeader

§

impl Encodable for MerkleBlock

§

impl Encodable for OutPoint

§

impl Encodable for PackedLockTime

§

impl Encodable for Script

§

impl Encodable for Sequence

§

impl Encodable for Sighash

§

impl Encodable for Transaction

§

impl Encodable for TxIn

§

impl Encodable for TxMerkleNode

§

impl Encodable for TxOut

§

impl Encodable for Txid

§

impl Encodable for VarInt

§

impl Encodable for Witness

§

impl Encodable for WitnessMerkleNode

§

impl Encodable for Wtxid

§

impl Encodable for BlockTransactions

§

impl Encodable for BlockTransactionsRequest

§

impl Encodable for HeaderAndShortIds

§

impl Encodable for PrefilledTransaction

§

impl Encodable for ShortId

§

impl Encodable for breez_sdk_core::bitcoin::util::key::secp256k1::hashes::sha256::Hash

§

impl Encodable for breez_sdk_core::bitcoin::util::key::secp256k1::hashes::sha256d::Hash

§

impl Encodable for PartialMerkleTree

§

impl Encodable for Key

§

impl Encodable for Pair

§

impl Encodable for Input

§

impl Encodable for Output

§

impl Encodable for PartiallySignedTransaction

§

impl Encodable for TapLeafHash

§

impl Encodable for Uint128

§

impl Encodable for Uint256

§

impl Encodable for CheckedData

§

impl<'a> Encodable for Annex<'a>

§

impl<Subtype> Encodable for ProprietaryKey<Subtype>
where Subtype: Copy + From<u8> + Into<u8>,