pub trait SourceInstaller {
    type Error;

    // Required method
    fn install_transaction_builders(
        &self,
        name: &str,
        abis: &[ScriptABI]
    ) -> Result<(), Self::Error>;
}
Expand description

How to copy ABI-generated source code for a given language.

Required Associated Types§

Required Methods§

source

fn install_transaction_builders( &self, name: &str, abis: &[ScriptABI] ) -> Result<(), Self::Error>

Create a module exposing the transaction builders for the given ABIs.

Implementors§

source§

impl SourceInstaller for transaction_builder_generator::cpp::Installer

§

type Error = Box<dyn Error + 'static, Global>

source§

impl SourceInstaller for transaction_builder_generator::csharp::Installer

§

type Error = Box<dyn Error + 'static, Global>

source§

impl SourceInstaller for transaction_builder_generator::golang::Installer

§

type Error = Box<dyn Error + 'static, Global>

source§

impl SourceInstaller for transaction_builder_generator::java::Installer

§

type Error = Box<dyn Error + 'static, Global>

source§

impl SourceInstaller for transaction_builder_generator::python3::Installer

§

type Error = Box<dyn Error + 'static, Global>

source§

impl SourceInstaller for transaction_builder_generator::rust::Installer

§

type Error = Box<dyn Error + 'static, Global>

source§

impl SourceInstaller for transaction_builder_generator::typescript::Installer

§

type Error = Box<dyn Error + 'static, Global>