Trait bitcoincore_rpc::RawTx

source ·
pub trait RawTx: Sized + Clone {
    // Required method
    fn raw_hex(self) -> String;
}
Expand description

Used to pass raw txs into the API.

Required Methods§

source

fn raw_hex(self) -> String

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl RawTx for String

source§

impl<'a> RawTx for &'a str

source§

impl<'a> RawTx for &'a Vec<u8>

source§

impl<'a> RawTx for &'a Transaction

source§

impl<'a> RawTx for &'a [u8]

Implementors§