[][src]Struct iguana_interpreter::ScriptInterpreter

pub struct ScriptInterpreter<E: ECC> { /* fields omitted */ }

Implementations

impl<E: ECC> ScriptInterpreter<E>[src]

pub fn new(tx: Arc<Tx>, input_idx: usize, ecc: Arc<E>) -> Self[src]

pub fn run(&mut self) -> Result<bool, ScriptError>[src]

pub fn push_input_data(&mut self) -> Result<(), ScriptError>[src]

pub fn is_finished(&self) -> bool[src]

pub fn instruction_pointer(&self) -> usize[src]

pub fn run_next_op(&mut self) -> Result<(), ScriptError>[src]

pub fn stack(&self) -> &[StackItem][src]

pub fn alt_stack(&self) -> &[StackItem][src]

pub fn exec_stack(&self) -> &[bool][src]

Auto Trait Implementations

impl<E> RefUnwindSafe for ScriptInterpreter<E> where
    E: RefUnwindSafe

impl<E> Send for ScriptInterpreter<E> where
    E: Send + Sync

impl<E> Sync for ScriptInterpreter<E> where
    E: Send + Sync

impl<E> Unpin for ScriptInterpreter<E>

impl<E> UnwindSafe for ScriptInterpreter<E> where
    E: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.