Trait TxBuildable

pub trait TxBuildable: Clone + Debug {
    // Required methods
    fn set_protocol_params(&mut self, protocol_params: Protocol) -> &mut Self;
    fn set_tx_builder_body(&mut self, tx_builder: TxBuilderBody) -> &mut Self;
    fn reset_builder(&mut self) -> &mut Self;
    fn serialize_tx_body(&mut self) -> Result<String, WError>;
    fn unbalanced_serialize_tx_body(&mut self) -> Result<String, WError>;
    fn complete_signing(&mut self) -> Result<String, WError>;
    fn tx_hex(&mut self) -> String;
}

Required Methods§

fn set_protocol_params(&mut self, protocol_params: Protocol) -> &mut Self

fn set_tx_builder_body(&mut self, tx_builder: TxBuilderBody) -> &mut Self

fn reset_builder(&mut self) -> &mut Self

fn serialize_tx_body(&mut self) -> Result<String, WError>

fn unbalanced_serialize_tx_body(&mut self) -> Result<String, WError>

fn complete_signing(&mut self) -> Result<String, WError>

fn tx_hex(&mut 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.

Implementors§