solana_transaction_status

Trait EncodableWithMeta

source
pub trait EncodableWithMeta {
    type Encoded;

    // Required methods
    fn encode_with_meta(
        &self,
        encoding: UiTransactionEncoding,
        meta: &TransactionStatusMeta,
    ) -> Self::Encoded;
    fn json_encode(&self) -> Self::Encoded;
}
Expand description

Represents types that can be encoded into one of several encoding formats

Required Associated Types§

Required Methods§

source

fn encode_with_meta( &self, encoding: UiTransactionEncoding, meta: &TransactionStatusMeta, ) -> Self::Encoded

source

fn json_encode(&self) -> Self::Encoded

Implementations on Foreign Types§

source§

impl EncodableWithMeta for Message

source§

impl EncodableWithMeta for VersionedTransaction

Implementors§