Skip to main content

ElementsTxEnv

Type Alias ElementsTxEnv 

Source
pub type ElementsTxEnv = ElementsEnv<Arc<Transaction>>;
Expand description

Type alias for the Elements transaction environment.

Aliased Type§

pub struct ElementsTxEnv { /* private fields */ }

Trait Implementations§

Source§

impl JetEnvironment for ElementsTxEnv

Source§

type Jet = Elements

The type of jet that this environment supports.
Source§

type CJetEnvironment = CTxEnv

CJetEnvironment to interact with C FFI.
Source§

fn c_jet_env(&self) -> &Self::CJetEnvironment

Obtains a C FFI compatible environment for the jet.
Source§

fn c_jet_ptr( jet: &Self::Jet, ) -> fn(&mut CFrameItem, CFrameItem, &Self::CJetEnvironment) -> bool

Obtain the FFI C pointer for the jet.