agave_transaction_view::transaction_data

Trait TransactionData

Source
pub trait TransactionData {
    // Required method
    fn data(&self) -> &[u8] ;
}
Expand description

Trait for accessing transaction data from an abstract byte container.

Required Methods§

Source

fn data(&self) -> &[u8]

Returns a reference to the serialized transaction data.

Implementations on Foreign Types§

Source§

impl TransactionData for &[u8]

Source§

fn data(&self) -> &[u8]

Implementors§