Trait functional_tests::compiler::Compiler
source · pub trait Compiler {
// Required methods
fn compile<Logger: FnMut(String)>(
&mut self,
log: Logger,
input: &str
) -> Result<ScriptOrModule>;
fn use_compiled_genesis(&self) -> bool;
}
Required Methods§
sourcefn compile<Logger: FnMut(String)>(
&mut self,
log: Logger,
input: &str
) -> Result<ScriptOrModule>
fn compile<Logger: FnMut(String)>( &mut self, log: Logger, input: &str ) -> Result<ScriptOrModule>
Compile a transaction script or module.