Trait 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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl RawTx for &str

Source§

impl RawTx for &Vec<u8>

Source§

impl RawTx for &Transaction

Source§

impl RawTx for &[u8]

Source§

impl RawTx for String

Implementors§