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 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§